The criteria
object specifies the landmark
or landmark category to add or edit.
The criteria
object has two main properties: Type
and Data
.
These are described in the following table.
Property |
Description |
Type |
Value |
---|---|---|---|
|
Specifies the type of landmark information to add or edit. |
string |
Possible values:
|
|
Specifies the information to add or edit. The exact set of properties that need to be specified depends on the type of information. Moreover:
|
object |
Object with the properties specified below |
|
Specifies the URI of the landmark database on which the add or edit operation is performed. If this property is not specified, the operation is performed on the default database. |
string |
For example: |
|
Specifies one of the properties for the landmark or landmark category to add or edit:
|
(depends on the property) |