Criteria for deleting landmark information

The criteria object specifies the landmark or landmark category to delete.

The criteria object has two main properties: Type and Data. These are described in the following table.

Table: Criteria object properties

Property

Description

Type

Value

criteria.Type

Specifies the type of landmark information to delete.

string

Possible values:

  • "Landmark"

  • "Category"

criteria.Data

Specifies the landmark or landmark category to delete.

object

Object with the properties specified below

[criteria.Data.DatabaseURI]

Specifies the URI of the landmark database from which to delete the landmark or landmark category.

If this property is not specified, the delete operation is performed on the default database.

string

For example: file://c:landmarks.ldb

criteria.Data.id

Specifies the unique ID of the landmark or landmark category to delete.

Use the GetList method to retrieve this ID.