Criteria for importing landmarks

The criteria object specifies the set of landmarks to import and optionally the target 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 import. This is always "Landmark".

string

Possible values:

  • "Landmark"

criteria.Data

Specifies the landmarks to import.

object

Object with the properties specified below

[criterias.Data.DatabaseURI]

Specifies the URI of the landmark database into which the landmarks are imported.

If this property is not specified, the landmarks are imported into the default database.

string

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

criteria.Data.SourceFile

Specifies the full path and file name of the source file from which the landmarks are imported.

string

For example: c:\\mylandmarks.lmx

criteria.Data.MimeType

Specifies the MIME type of the source 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"