diff options
author | Fabian Bumberger <fbumberger@rim.com> | 2013-11-15 07:45:54 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-02-06 01:38:32 +0100 |
commit | 545e3f0540a1bd8e431391e325038fabca915867 (patch) | |
tree | d41d8d88921de1a407f30e8d8e39a5bdce7bf2a5 /src/location/doc/src/qml-maps.qdoc | |
parent | 4a1f2da3df92eed75cb7d473ae77c63e48fdd97a (diff) | |
download | qtlocation-545e3f0540a1bd8e431391e325038fabca915867.tar.gz |
Remove the GeoMapMouseArea
I don't see a reason for keeping this. First of all, only half of it is
implemented. Second we can have the same behavior with a normal
MouseArea. The only advantage a MapMouseArea has is that mouse events
are only received in the boundaries of the parent map item. However
with a bit of work in the parent map item we can have this behavior as
well for a normal mouse area.
The only thing we are eventually loosing is the geocoordinate property
of the MapMouseEvent. But this can be easily obtained with the
"toCoordinate" function in the Map item.
Change-Id: Icb176ee7d7c2881df714ab3191fa1f7f5c8915e2
Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
Diffstat (limited to 'src/location/doc/src/qml-maps.qdoc')
-rw-r--r-- | src/location/doc/src/qml-maps.qdoc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/location/doc/src/qml-maps.qdoc b/src/location/doc/src/qml-maps.qdoc index 84ccfbf4..460ec170 100644 --- a/src/location/doc/src/qml-maps.qdoc +++ b/src/location/doc/src/qml-maps.qdoc @@ -48,9 +48,7 @@ Map item you can center the map, zoom, pinch and make the item flickable. The places to be added to the map are \l {Maps and Navigation (QML)#Putting Objects on a Map (Map Overlay Objects)}{MapItems}. The item's position is defined by a \l {coordinate}{coordinate} which includes latitude, -longitude and altitude. The item is then displayed automatically after it is added to the Map. -Interaction with the added items, and the \l Map itself, is handled by \l MapMouseArea when items -are added as children of the +longitude and altitude. The item is then displayed automatically after it is added to the Map. \l {Maps and Navigation (QML)#Putting Objects on a Map (Map Overlay Objects)}{MapItems} or \l Map. \section2 Position on map |