QML Map ElementThe Map element displays a map. More... Properties
MethodsDetailed DescriptionThe Map element can be used be used to display a map of the world. The bulk of the functionality is provided by a mapping plugin described by the Plugin element associated with the Map. Various map objects can be added to the map. These map objects are specified in terms of coordinates and metres. The Map element is part of the QtMobility.location 1.1 module. Property DocumentationThis property holds the coordinate which occupies the center of the mapping viewport. The default value is an arbitrary valid coordinate. This property holds the connectivity mode used to fetch the map data. The mode can be one of:
The default value is determined by the plugin. This property holds the type of map to display. The type can be one of:
The default value is determined by the plugin. This property holds the maximum valid zoom level for the map. This property holds the minimum valid zoom level for the map. This property holds the list of objects associated with this map. The various objects that can be added include: This property holds the plugin which provides the mapping functionality. This is write-once property. Once the map has a plugin associated with it any attempted modifications of the plugin will be ignored. This property holds the size of the map viewport. This property holds the zoom level for the map. Larger values for the zoom level provide more detail. The default value is 8.0. Method DocumentationReturns the coordinate which corresponds to the screen position screenPosition. Returns an invalid coordinate if screenPosition is not within the current viewport. Returns the screen position which corresponds to the coordinate coordinate. Returns an invalid QPointF if coordinate is not within the current viewport.
© 2008-2010 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. Privacy Policy X
|