The QGeoMapOverlay class is used to draw overlays on the map. More...
#include <QGeoMapOverlay>
This class was introduced in Qt Mobility 1.1.
QGeoMapOverlay () | |
virtual | ~QGeoMapOverlay () |
virtual void | paint ( QPainter * painter, const QStyleOptionGraphicsItem * option ) = 0 |
QGeoMapData const * | mapData () const |
The QGeoMapOverlay class is used to draw overlays on the map.
This allows for general drawing to occur in overlays above the map.
Constructs a new map overlay object.
Destroys this map overlay object.
Returns the QGeoMapData instance that this overlay is associated, or 0 if there is not such instance.
The QGeoMapData instance provides access to information such as the zoom level and viewport position as well as methods to convert screen positions to coordinates and vice-versa.
This function was introduced in Qt Mobility 1.1.
Paints the overlay on painter, using the options option.
This function was introduced in Qt Mobility 1.1.
© 2008-2011 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
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.