Criteria for exporting landmarks

The criteria object specifies the set of landmarks to export and optionally the source database.

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 export. This is always "Landmark".

string

Possible values:

  • "Landmark"

criteria.Data

Specifies the landmarks to export.

object

Object with the properties specified below

[criteria.Data.DatabaseURI]

Specifies the URI of the landmark database from which the landmarks are exported.

If this property is not specified, the landmarks are exported from the default database.

string

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

criteria.Data.DestinationFile

Specifies the full path and file name of the target file into which the landmarks are exported.

string

For example: c:\\mylandmarks.lmx

criteria.Data.IdList

Specifies the IDs of the landmarks to export.

Use the GetList method to retrieve these IDs.

array of strings

 

criteria.Data.MimeType

Specifies the MIME type of the target file.

The supported MIME types are described in the document S60 Platform: Landmarks Exchange Format Specification available on Forum Nokia.

string

For example: "application/vnd.nokia.landmarkcollection+xml"