MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

QML Landmark Element

The Landmark element presents one landmark. More...

Inherits Place

This element was introduced in Mobility 1.2.

Properties

Detailed Description

This element is part of the QtMobility.location 1.1 module.

The Landmark element presents one landmark. The primary source for landmarks is the LandmarkModel. To get Categories of a certain landmark, see the LandmarkCategoryModel::landmark. Currently saving Landmarks is not supported.

 Landmark {
     id: myLandmark
     name: "Tangalooma wrecks"
     coordinate: Coordinate {
         latitude: -27.163238
         longitude: 153.368373
     }
 }

See also Place, LandmarkCategory, LandmarkModel, LandmarkCategoryModel, and QLandmark.

Property Documentation

description : string

This property holds the description of the landmark.

This property group was introduced in Mobility 1.2.


iconSource : url

This property holds the landmark's icon's URL.

This property group was introduced in Mobility 1.2.


name : string

This property holds the name of the landmark.

This property group was introduced in Mobility 1.2.


phoneNumber : string

This property holds the phoneNumber of the landmark.

This property group was introduced in Mobility 1.2.


radius : double

This property holds the coverage radius of the landmark (in metres). The coverage radius is relevant for large landmarks such as cities.

Note that landmark searches over a given area do not factor in the coverage radius.

This property group was introduced in Mobility 1.2.


url : url

This property holds the URL of the landmark.

This property group was introduced in Mobility 1.2.