MeeGo 1.2 Harmattan Developer Documentation Develop for the Nokia N9

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.