QtMobility Reference Documentation

QML LandmarkIntersectionFilter Element

The LandmarkIntersectionFilter element specifies an insection 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.

The LandmarkIntersectionFilter element specifies an insection of landmark filters. Logical AND combinations of LandmarkFilters can be formed using LandmarkIntersectionFilter.

The following example creates a filter which filters for landmarks named Darwin within 500 metres of coordinate (20,10).

 LandmarkIntersectionFilter {
     id: filterExample
     LandmarkNameFilter {
         name: "Darwin"
     }
     LandmarkProximityFilter {
         center: Coordinate {
             longitude:  10
             latitude: 20
         }
         radius: 5000
     }
 }

See also LandmarkUnionFilter, LandmarkModel, and QLandmarkIntersectionFilter.

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.