Qt Mobility Reference Documentation

QML Landmark Element

[Inherits Place]

The Landmark element presents one landmark. More...

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.


iconSource : url

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


name : string

This property holds the name of the landmark.


phoneNumber : string

This property holds the phoneNumber of the landmark.


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.


url : url

This property holds the URL of the landmark.


X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.