QtMobility Reference Documentation

QML LandmarkUnionFilter Element

The LandmarkUnionFilter element specifies a union of landmark filters. More...

This element was introduced in Mobility 1.2.

Detailed Description

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

Logical OR combinations of landmark filters can be formed using LandmarkUnionFilter.

The following example creates a filter which filters for landmarks which are either named Nimbin, or located within 1500 metres from current location (or both).

 LandmarkUnionFilter {
     id: landmarkUnionFilterNameAndProximity
     LandmarkNameFilter {
         name: "Nimbin"
     }
     LandmarkProximityFilter {
         center: myPosition.position.coordinate
         radius: 1500
     }
 }

See also LandmarkIntersectionFilter, LandmarkModel, and QLandmarkUnionFilter.

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.