Sophie

Sophie

distrib > Mageia > 5 > i586 > media > core-release > by-pkgid > 50facae208d4a6f280e44a513b104320 > files > 874

qt-mobility-doc-1.2.0-13.mga5.noarch.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- qgeomapdata.cpp -->
  <title>Qt Mobility 1.2: QGeoMapData Class Reference</title>
  <link rel="stylesheet" type="text/css" href="style/offline.css" />
</head>
<body>
<div class="header" id="qtdocheader">
  <div class="content"> 
    <a href="index.html" class="qtref"><span>QtMobility Reference Documentation</span></a>
  </div>
  <div class="breadcrumb toolblock">
    <ul>
      <li class="first"><a href="index.html">Home</a></li>
      <!--  Breadcrumbs go here -->
<li><a href="modules.html">Modules</a></li>
<li><a href="qtlocation.html">QtLocation</a></li>
<li>QGeoMapData</li>
    </ul>
  </div>
</div>
<div class="content mainContent">
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#properties">Properties</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#signals">Signals</a></li>
<li class="level1"><a href="#protected-functions">Protected Functions</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">QGeoMapData Class Reference</h1>
<!-- $$$QGeoMapData-brief -->
<p>The QGeoMapData class are used as a bridge between <a href="qgraphicsgeomap.html">QGraphicsGeoMap</a> and <a href="qgeomappingmanager.html">QGeoMappingManager</a>. <a href="#details">More...</a></p>
<!-- @@@QGeoMapData -->
<pre class="cpp"> <span class="preprocessor">#include &lt;QGeoMapData&gt;</span></pre><p><b>Inherits: </b><a href="http://qt.nokia.com/doc/4.7/qobject.html">QObject</a>.</p>
<p><b>Inherited by: </b><a href="qgeotiledmapdata.html">QGeoTiledMapData</a>.</p>
<p>This class was introduced in Qt Mobility 1.1.</p>
<ul>
<li><a href="qgeomapdata-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="properties"></a>
<h2>Properties</h2>
<table class="propsummary">
<tr><td class="topAlign"><ul>
<li class="fn"><b><a href="qgeomapdata.html#bearing-prop">bearing</a></b> : qreal</li>
<li class="fn"><b><a href="qgeomapdata.html#center-prop">center</a></b> : QGeoCoordinate</li>
<li class="fn"><b><a href="qgeomapdata.html#connectivityMode-prop">connectivityMode</a></b> : QGraphicsGeoMap::ConnectivityMode</li>
<li class="fn"><b><a href="qgeomapdata.html#mapType-prop">mapType</a></b> : QGraphicsGeoMap::MapType</li>
<li class="fn"><b><a href="qgeomapdata.html#maximumTilt-prop">maximumTilt</a></b> : const qreal</li>
<li class="fn"><b><a href="qgeomapdata.html#minimumTilt-prop">minimumTilt</a></b> : const qreal</li>
</ul></td><td class="topAlign"><ul>
<li class="fn"><b><a href="qgeomapdata.html#supportsBearing-prop">supportsBearing</a></b> : const bool</li>
<li class="fn"><b><a href="qgeomapdata.html#supportsTilting-prop">supportsTilting</a></b> : const bool</li>
<li class="fn"><b><a href="qgeomapdata.html#tilt-prop">tilt</a></b> : qreal</li>
<li class="fn"><b><a href="qgeomapdata.html#windowSize-prop">windowSize</a></b> : QSizeF</li>
<li class="fn"><b><a href="qgeomapdata.html#zoomLevel-prop">zoomLevel</a></b> : qreal</li>
</ul>
</td></tr>
</table>
<ul>
<li class="fn">1 property inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#properties">QObject</a></li>
</ul>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#QGeoMapData">QGeoMapData</a></b> ( QGeoMappingManagerEngine * <i>engine</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#dtor.QGeoMapData">~QGeoMapData</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#addMapObject">addMapObject</a></b> ( QGeoMapObject * <i>mapObject</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#addMapOverlay">addMapOverlay</a></b> ( QGeoMapOverlay * <i>overlay</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#bearing-prop">bearing</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QGeoCoordinate </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#center-prop">center</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#clearMapObjects">clearMapObjects</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#clearMapOverlays">clearMapOverlays</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QGraphicsGeoMap::ConnectivityMode </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#connectivityMode-prop">connectivityMode</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QPointF </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#coordinateToScreenPosition">coordinateToScreenPosition</a></b> ( const QGeoCoordinate &amp; <i>coordinate</i> ) const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#fitInViewport">fitInViewport</a></b> ( const QGeoBoundingBox &amp; <i>bounds</i>, bool <i>preserveViewportCenter</i> = false ) = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#init">init</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QList&lt;QGeoMapObject *&gt; </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#mapObjects">mapObjects</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QList&lt;QGeoMapObject *&gt; </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#mapObjectsAtScreenPosition">mapObjectsAtScreenPosition</a></b> ( const QPointF &amp; <i>screenPosition</i> ) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QList&lt;QGeoMapObject *&gt; </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#mapObjectsInScreenRect">mapObjectsInScreenRect</a></b> ( const QRectF &amp; <i>screenRect</i> ) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QList&lt;QGeoMapObject *&gt; </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#mapObjectsInViewport">mapObjectsInViewport</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QList&lt;QGeoMapOverlay *&gt; </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#mapOverlays">mapOverlays</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QGraphicsGeoMap::MapType </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#mapType-prop">mapType</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#maximumTilt-prop">maximumTilt</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#minimumTilt-prop">minimumTilt</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#paint">paint</a></b> ( QPainter * <i>painter</i>, const QStyleOptionGraphicsItem * <i>option</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#pan">pan</a></b> ( int <i>dx</i>, int <i>dy</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#removeMapObject">removeMapObject</a></b> ( QGeoMapObject * <i>mapObject</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#removeMapOverlay">removeMapOverlay</a></b> ( QGeoMapOverlay * <i>overlay</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QGeoCoordinate </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#screenPositionToCoordinate">screenPositionToCoordinate</a></b> ( const QPointF &amp; <i>screenPosition</i> ) const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#bearing-prop">setBearing</a></b> ( qreal <i>bearing</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#center-prop">setCenter</a></b> ( const QGeoCoordinate &amp; <i>center</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#connectivityMode-prop">setConnectivityMode</a></b> ( QGraphicsGeoMap::ConnectivityMode <i>connectivityMode</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#mapType-prop">setMapType</a></b> ( QGraphicsGeoMap::MapType <i>mapType</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#tilt-prop">setTilt</a></b> ( qreal <i>tilt</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#windowSize-prop">setWindowSize</a></b> ( const QSizeF &amp; <i>size</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#zoomLevel-prop">setZoomLevel</a></b> ( qreal <i>zoomLevel</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#supportsBearing-prop">supportsBearing</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> bool </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#supportsTilting-prop">supportsTilting</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#tilt-prop">tilt</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QGeoBoundingBox </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#viewport">viewport</a></b> () const = 0</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QSizeF </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#windowSize-prop">windowSize</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual qreal </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#zoomLevel-prop">zoomLevel</a></b> () const</td></tr>
</table>
<ul>
<li class="fn">29 public functions inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-functions">QObject</a></li>
</ul>
<a name="signals"></a>
<h2>Signals</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#bearingChanged">bearingChanged</a></b> ( qreal <i>bearing</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#centerChanged">centerChanged</a></b> ( const QGeoCoordinate &amp; <i>coordinate</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#connectivityModeChanged">connectivityModeChanged</a></b> ( QGraphicsGeoMap::ConnectivityMode <i>connectivityMode</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#mapTypeChanged">mapTypeChanged</a></b> ( QGraphicsGeoMap::MapType <i>mapType</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#tiltChanged">tiltChanged</a></b> ( qreal <i>tilt</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#updateMapDisplay">updateMapDisplay</a></b> ( const QRectF &amp; <i>target</i> = QRectF() )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#windowSizeChanged">windowSizeChanged</a></b> ( const QSizeF &amp; <i>windowSize</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#zoomLevelChanged">zoomLevelChanged</a></b> ( qreal <i>zoomLevel</i> )</td></tr>
</table>
<ul>
<li class="fn">1 signal inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#signals">QObject</a></li>
</ul>
<a name="protected-functions"></a>
<h2>Protected Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> QGeoMapObject * </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#containerObject">containerObject</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual QGeoMapObjectInfo * </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#createMapObjectInfo">createMapObjectInfo</a></b> ( QGeoMapObject * <i>object</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QGeoMappingManagerEngine * </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#engine">engine</a></b> () const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#paintMap">paintMap</a></b> ( QPainter * <i>painter</i>, const QStyleOptionGraphicsItem * <i>option</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#paintObjects">paintObjects</a></b> ( QPainter * <i>painter</i>, const QStyleOptionGraphicsItem * <i>option</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#paintProviderNotices">paintProviderNotices</a></b> ( QPainter * <i>painter</i>, const QStyleOptionGraphicsItem * <i>option</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgeomapdata.html#setBlockPropertyChangeSignals">setBlockPropertyChangeSignals</a></b> ( bool <i>block</i> )</td></tr>
</table>
<ul>
<li class="fn">7 protected functions inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#protected-functions">QObject</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li class="fn">1 public slot inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-slots">QObject</a></li>
<li class="fn">1 public variable inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#public-variables">QObject</a></li>
<li class="fn">4 static public members inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#static-public-members">QObject</a></li>
<li class="fn">2 protected variables inherited from <a href="http://qt.nokia.com/doc/4.7/qobject.html#protected-variables">QObject</a></li>
</ul>
<a name="details"></a>
<!-- $$$QGeoMapData-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The QGeoMapData class are used as a bridge between <a href="qgraphicsgeomap.html">QGraphicsGeoMap</a> and <a href="qgeomappingmanager.html">QGeoMappingManager</a>.</p>
<p>Instances of QGeoMapData are created with <a href="qgeomappingmanager.html#createMapData">QGeoMappingManager::createMapData</a>(), and are used internally by <a href="qgraphicsgeomap.html">QGraphicsGeoMap</a> to manage the state of the map and the associated <a href="qgeomapobject.html">QGeoMapObject</a> instances.</p>
<p>Plugin implementers will need to provide implementations of coordinateToScreenPosition(const <a href="qgeocoordinate.html">QGeoCoordinate</a> &amp;coordinate) and <a href="qgeocoordinate.html">QGeoCoordinate</a> screenPositionToCoordinate(const <a href="http://qt.nokia.com/doc/4.7/qpointf.html">QPointF</a> &amp;screenPosition).</p>
<p>The other virtual functions can be overridden. If the screen position to coordinate tranformations are expensive then overriding these functions may allow optimizations based on caching parts of the geometry information.</p>
<p>Subclasses should override <a href="qgeomapdata.html#createMapObjectInfo">createMapObjectInfo</a>() so that <a href="qgeomapobjectinfo.html">QGeoMapObjectInfo</a> instances will be created for each <a href="qgeomapobject.html">QGeoMapObject</a> type in order to provide the QGeoMapData subclass specific behaviours for the map objects.</p>
</div>
<!-- @@@QGeoMapData -->
<div class="prop">
<h2>Property Documentation</h2>
<!-- $$$bearing-prop$$$bearing$$$setBearingqreal$$$bearingChangedqreal -->
<h3 class="fn"><a name="bearing-prop"></a><span class="name">bearing</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qtglobal.html#qreal-typedef">qreal</a></span></h3>
<p>Returns the current bearing of the map.</p>
<p>Value in degrees in the range of 0-360. 0 being equivalent to 0 degrees from north.</p>
<p>This property was introduced in Qt Mobility 1.2.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> qreal </td><td class="memItemRight bottomAlign"><span class="name"><b>bearing</b></span> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setBearing</b></span> ( qreal <i>bearing</i> )</td></tr>
</table>
<p><b>Notifier signal:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qgeomapdata.html#bearingChanged">bearingChanged</a></b></span> ( qreal <i>bearing</i> )</td></tr>
</table>
<!-- @@@bearing -->
<!-- $$$center-prop$$$center$$$setCenterconstQGeoCoordinate&$$$centerChangedconstQGeoCoordinate& -->
<h3 class="fn"><a name="center-prop"></a><span class="name">center</span> : <span class="type"><a href="qgeocoordinate.html">QGeoCoordinate</a></span></h3>
<p>Returns the coordinate of the point in the center of the map viewport.</p>
<p>This property was introduced in Qt Mobility 1.1.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> virtual QGeoCoordinate </td><td class="memItemRight bottomAlign"><span class="name"><b>center</b></span> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> virtual void </td><td class="memItemRight bottomAlign"><span class="name"><b>setCenter</b></span> ( const QGeoCoordinate &amp; <i>center</i> )</td></tr>
</table>
<p><b>Notifier signal:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qgeomapdata.html#centerChanged">centerChanged</a></b></span> ( const QGeoCoordinate &amp; <i>coordinate</i> )</td></tr>
</table>
<!-- @@@center -->
<!-- $$$connectivityMode-prop$$$connectivityMode$$$setConnectivityModeQGraphicsGeoMap::ConnectivityMode$$$connectivityModeChangedQGraphicsGeoMap::ConnectivityMode -->
<h3 class="fn"><a name="connectivityMode-prop"></a><span class="name">connectivityMode</span> : <span class="type"><a href="qgraphicsgeomap.html#ConnectivityMode-enum">QGraphicsGeoMap::ConnectivityMode</a></span></h3>
<p>Returns the connectivity mode for this map.</p>
<p>This property was introduced in Qt Mobility 1.1.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> virtual QGraphicsGeoMap::ConnectivityMode </td><td class="memItemRight bottomAlign"><span class="name"><b>connectivityMode</b></span> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> virtual void </td><td class="memItemRight bottomAlign"><span class="name"><b>setConnectivityMode</b></span> ( QGraphicsGeoMap::ConnectivityMode <i>connectivityMode</i> )</td></tr>
</table>
<p><b>Notifier signal:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qgeomapdata.html#connectivityModeChanged">connectivityModeChanged</a></b></span> ( QGraphicsGeoMap::ConnectivityMode <i>connectivityMode</i> )</td></tr>
</table>
<!-- @@@connectivityMode -->
<!-- $$$mapType-prop$$$mapType$$$setMapTypeQGraphicsGeoMap::MapType$$$mapTypeChangedQGraphicsGeoMap::MapType -->
<h3 class="fn"><a name="mapType-prop"></a><span class="name">mapType</span> : <span class="type"><a href="qgraphicsgeomap.html#MapType-enum">QGraphicsGeoMap::MapType</a></span></h3>
<p>Returns the type of map data which is being displayed.</p>
<p>This property was introduced in Qt Mobility 1.1.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> virtual QGraphicsGeoMap::MapType </td><td class="memItemRight bottomAlign"><span class="name"><b>mapType</b></span> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> virtual void </td><td class="memItemRight bottomAlign"><span class="name"><b>setMapType</b></span> ( QGraphicsGeoMap::MapType <i>mapType</i> )</td></tr>
</table>
<p><b>Notifier signal:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qgeomapdata.html#mapTypeChanged">mapTypeChanged</a></b></span> ( QGraphicsGeoMap::MapType <i>mapType</i> )</td></tr>
</table>
<!-- @@@mapType -->
<!-- $$$maximumTilt-prop$$$maximumTilt -->
<h3 class="fn"><a name="maximumTilt-prop"></a><span class="name">maximumTilt</span> : const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qtglobal.html#qreal-typedef">qreal</a></span></h3>
<p>Returns maximum tilt supported by this engine.</p>
<p>This property was introduced in Qt Mobility 1.2.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> qreal </td><td class="memItemRight bottomAlign"><span class="name"><b>maximumTilt</b></span> () const</td></tr>
</table>
<!-- @@@maximumTilt -->
<!-- $$$minimumTilt-prop$$$minimumTilt -->
<h3 class="fn"><a name="minimumTilt-prop"></a><span class="name">minimumTilt</span> : const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qtglobal.html#qreal-typedef">qreal</a></span></h3>
<p>Returns minimum tilt supported by this engine.</p>
<p>This property was introduced in Qt Mobility 1.2.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> qreal </td><td class="memItemRight bottomAlign"><span class="name"><b>minimumTilt</b></span> () const</td></tr>
</table>
<!-- @@@minimumTilt -->
<!-- $$$supportsBearing-prop$$$supportsBearing -->
<h3 class="fn"><a name="supportsBearing-prop"></a><span class="name">supportsBearing</span> : const <span class="type">bool</span></h3>
<p>Returns whether bearing is supported by this engine.</p>
<p>This property was introduced in Qt Mobility 1.2.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><span class="name"><b>supportsBearing</b></span> () const</td></tr>
</table>
<!-- @@@supportsBearing -->
<!-- $$$supportsTilting-prop$$$supportsTilting -->
<h3 class="fn"><a name="supportsTilting-prop"></a><span class="name">supportsTilting</span> : const <span class="type">bool</span></h3>
<p>Returns whether tilting is supported by this engine.</p>
<p>This property was introduced in Qt Mobility 1.2.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> bool </td><td class="memItemRight bottomAlign"><span class="name"><b>supportsTilting</b></span> () const</td></tr>
</table>
<!-- @@@supportsTilting -->
<!-- $$$tilt-prop$$$tilt$$$setTiltqreal$$$tiltChangedqreal -->
<h3 class="fn"><a name="tilt-prop"></a><span class="name">tilt</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qtglobal.html#qreal-typedef">qreal</a></span></h3>
<p>Returns the current tilt of the map.</p>
<p>Value in degrees where 0 is equivalent to 90 degrees between view and earth's surface i.e&#x2e; looking straight down to earth.</p>
<p>This property was introduced in Qt Mobility 1.2.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> qreal </td><td class="memItemRight bottomAlign"><span class="name"><b>tilt</b></span> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setTilt</b></span> ( qreal <i>tilt</i> )</td></tr>
</table>
<p><b>Notifier signal:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qgeomapdata.html#tiltChanged">tiltChanged</a></b></span> ( qreal <i>tilt</i> )</td></tr>
</table>
<!-- @@@tilt -->
<!-- $$$windowSize-prop$$$windowSize$$$setWindowSizeconstQSizeF&$$$windowSizeChangedconstQSizeF& -->
<h3 class="fn"><a name="windowSize-prop"></a><span class="name">windowSize</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qsizef.html">QSizeF</a></span></h3>
<p>Returns the size of the map viewport.</p>
<p>The size will be adjusted by the associated <a href="qgraphicsgeomap.html">QGraphicsGeoMap</a> as it resizes.</p>
<p>This property was introduced in Qt Mobility 1.1.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> virtual QSizeF </td><td class="memItemRight bottomAlign"><span class="name"><b>windowSize</b></span> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> virtual void </td><td class="memItemRight bottomAlign"><span class="name"><b>setWindowSize</b></span> ( const QSizeF &amp; <i>size</i> )</td></tr>
</table>
<p><b>Notifier signal:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qgeomapdata.html#windowSizeChanged">windowSizeChanged</a></b></span> ( const QSizeF &amp; <i>windowSize</i> )</td></tr>
</table>
<!-- @@@windowSize -->
<!-- $$$zoomLevel-prop$$$zoomLevel$$$setZoomLevelqreal$$$zoomLevelChangedqreal -->
<h3 class="fn"><a name="zoomLevel-prop"></a><span class="name">zoomLevel</span> : <span class="type"><a href="http://qt.nokia.com/doc/4.7/qtglobal.html#qreal-typedef">qreal</a></span></h3>
<p>Returns the zoom level of the map.</p>
<p>Larger values of the zoom level correspond to more detailed views of the map.</p>
<p>This property was introduced in Qt Mobility 1.1.</p>
<p><b>Access functions:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> virtual qreal </td><td class="memItemRight bottomAlign"><span class="name"><b>zoomLevel</b></span> () const</td></tr>
<tr><td class="memItemLeft topAlign rightAlign"> virtual void </td><td class="memItemRight bottomAlign"><span class="name"><b>setZoomLevel</b></span> ( qreal <i>zoomLevel</i> )</td></tr>
</table>
<p><b>Notifier signal:</b></p>
<table class="alignedsummary">
<tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qgeomapdata.html#zoomLevelChanged">zoomLevelChanged</a></b></span> ( qreal <i>zoomLevel</i> )</td></tr>
</table>
<!-- @@@zoomLevel -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$QGeoMapData[overload1]$$$QGeoMapDataQGeoMappingManagerEngine* -->
<h3 class="fn"><a name="QGeoMapData"></a>QGeoMapData::<span class="name">QGeoMapData</span> ( <span class="type"><a href="qgeomappingmanagerengine.html">QGeoMappingManagerEngine</a></span> * <i>engine</i> )</h3>
<p>Constructs a new map data object, which makes use of the functionality provided by <i>engine</i>.</p>
<!-- @@@QGeoMapData -->
<!-- $$$~QGeoMapData[overload1]$$$~QGeoMapData -->
<h3 class="fn"><a name="dtor.QGeoMapData"></a>QGeoMapData::<span class="name">~QGeoMapData</span> ()<tt> [virtual]</tt></h3>
<p>Destroys this map data object.</p>
<!-- @@@~QGeoMapData -->
<!-- $$$addMapObject[overload1]$$$addMapObjectQGeoMapObject* -->
<h3 class="fn"><a name="addMapObject"></a><span class="type">void</span> QGeoMapData::<span class="name">addMapObject</span> ( <span class="type"><a href="qgeomapobject.html">QGeoMapObject</a></span> * <i>mapObject</i> )</h3>
<p>Adds <i>mapObject</i> to the list of map objects managed by this map.</p>
<p>The children objects are drawn in order of the <a href="qgeomapobject.html#zValue-prop">QGeoMapObject::zValue</a>() value. Children objects having the same z value will be drawn in the order they were added.</p>
<p>The map will take ownership of the <i>mapObject</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@addMapObject -->
<!-- $$$addMapOverlay[overload1]$$$addMapOverlayQGeoMapOverlay* -->
<h3 class="fn"><a name="addMapOverlay"></a><span class="type">void</span> QGeoMapData::<span class="name">addMapOverlay</span> ( <span class="type"><a href="qgeomapoverlay.html">QGeoMapOverlay</a></span> * <i>overlay</i> )</h3>
<p>Adds <i>overlay</i> to the list of map overlays associated with this map.</p>
<p>The overlays will be drawn in the order in which they were added.</p>
<p>The map will take ownership of <i>overlay</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@addMapOverlay -->
<!-- $$$bearingChanged[overload1]$$$bearingChangedqreal -->
<h3 class="fn"><a name="bearingChanged"></a><span class="type">void</span> QGeoMapData::<span class="name">bearingChanged</span> ( <span class="type"><a href="http://qt.nokia.com/doc/4.7/qtglobal.html#qreal-typedef">qreal</a></span> <i>bearing</i> )<tt> [signal]</tt></h3>
<p>This signal is emitted when the bearing of the map has changed.</p>
<p>The new value is <i>bearing</i>.</p>
<p>This function was introduced in Qt Mobility 1.2.</p>
<!-- @@@bearingChanged -->
<!-- $$$centerChanged[overload1]$$$centerChangedconstQGeoCoordinate& -->
<h3 class="fn"><a name="centerChanged"></a><span class="type">void</span> QGeoMapData::<span class="name">centerChanged</span> ( const <span class="type"><a href="qgeocoordinate.html">QGeoCoordinate</a></span> &amp; <i>coordinate</i> )<tt> [signal]</tt></h3>
<p>This signal is emitted when the center of the map has changed.</p>
<p>The new value is <i>coordinate</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@centerChanged -->
<!-- $$$clearMapObjects[overload1]$$$clearMapObjects -->
<h3 class="fn"><a name="clearMapObjects"></a><span class="type">void</span> QGeoMapData::<span class="name">clearMapObjects</span> ()</h3>
<p>Clears the map objects associated with this map.</p>
<p>The map objects will be deleted.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@clearMapObjects -->
<!-- $$$clearMapOverlays[overload1]$$$clearMapOverlays -->
<h3 class="fn"><a name="clearMapOverlays"></a><span class="type">void</span> QGeoMapData::<span class="name">clearMapOverlays</span> ()</h3>
<p>Clears the map overlays associated with this map.</p>
<p>The map overlays will be deleted.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@clearMapOverlays -->
<!-- $$$connectivityModeChanged[overload1]$$$connectivityModeChangedQGraphicsGeoMap::ConnectivityMode -->
<h3 class="fn"><a name="connectivityModeChanged"></a><span class="type">void</span> QGeoMapData::<span class="name">connectivityModeChanged</span> ( <span class="type"><a href="qgraphicsgeomap.html#ConnectivityMode-enum">QGraphicsGeoMap::ConnectivityMode</a></span> <i>connectivityMode</i> )<tt> [signal]</tt></h3>
<p>This signal is emitted when the connectivity mode used to fetch the map data has changed.</p>
<p>The new value is <i>connectivityMode</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@connectivityModeChanged -->
<!-- $$$containerObject[overload1]$$$containerObject -->
<h3 class="fn"><a name="containerObject"></a><span class="type"><a href="qgeomapobject.html">QGeoMapObject</a></span> * QGeoMapData::<span class="name">containerObject</span> ()<tt> [protected]</tt></h3>
<p>Returns the <a href="qgeomapobject.html">QGeoMapObject</a> which acts as the parent to all <a href="qgeomapobject.html">QGeoMapObject</a> instances which are added to the map by the user.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@containerObject -->
<!-- $$$coordinateToScreenPosition[overload1]$$$coordinateToScreenPositionconstQGeoCoordinate& -->
<h3 class="fn"><a name="coordinateToScreenPosition"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qpointf.html">QPointF</a></span> QGeoMapData::<span class="name">coordinateToScreenPosition</span> ( const <span class="type"><a href="qgeocoordinate.html">QGeoCoordinate</a></span> &amp; <i>coordinate</i> ) const<tt> [pure virtual]</tt></h3>
<p>Returns the position on the screen at which <i>coordinate</i> is displayed.</p>
<p>An invalid <a href="http://qt.nokia.com/doc/4.7/qpointf.html">QPointF</a> will be returned if <i>coordinate</i> is invalid or is not within the current viewport.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@coordinateToScreenPosition -->
<!-- $$$createMapObjectInfo[overload1]$$$createMapObjectInfoQGeoMapObject* -->
<h3 class="fn"><a name="createMapObjectInfo"></a><span class="type"><a href="qgeomapobjectinfo.html">QGeoMapObjectInfo</a></span> * QGeoMapData::<span class="name">createMapObjectInfo</span> ( <span class="type"><a href="qgeomapobject.html">QGeoMapObject</a></span> * <i>object</i> )<tt> [virtual protected]</tt></h3>
<p>Creates a <a href="qgeomapobjectinfo.html">QGeoMapObjectInfo</a> instance which implements the behaviours o the map object <i>object</i> which are specific to this <a href="qgeomapdata.html">QGeoMapData</a>.</p>
<p>The default implementation returns 0.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@createMapObjectInfo -->
<!-- $$$engine[overload1]$$$engine -->
<h3 class="fn"><a name="engine"></a><span class="type"><a href="qgeomappingmanagerengine.html">QGeoMappingManagerEngine</a></span> * QGeoMapData::<span class="name">engine</span> () const<tt> [protected]</tt></h3>
<p>Returns the mapping engine that this map data object is associated with.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@engine -->
<!-- $$$fitInViewport[overload1]$$$fitInViewportconstQGeoBoundingBox&bool -->
<h3 class="fn"><a name="fitInViewport"></a><span class="type">void</span> QGeoMapData::<span class="name">fitInViewport</span> ( const <span class="type"><a href="qgeoboundingbox.html">QGeoBoundingBox</a></span> &amp; <i>bounds</i>, <span class="type">bool</span> <i>preserveViewportCenter</i> = false )<tt> [pure virtual]</tt></h3>
<p>Attempts to fit the bounding box <i>bounds</i> into the viewport of the map.</p>
<p>This method will change the zoom level to the maximum zoom level such that all of <i>bounds</i> is visible within the resulting viewport.</p>
<p>If <i>preserveViewportCenter</i> is false the map will be centered on the bounding box <i>bounds</i> before the zoom level is changed, otherwise the center of the map will not be changed.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@fitInViewport -->
<!-- $$$init[overload1]$$$init -->
<h3 class="fn"><a name="init"></a><span class="type">void</span> QGeoMapData::<span class="name">init</span> ()<tt> [virtual]</tt></h3>
<p>This function is run after the <a href="qgeomapdata.html">QGeoMapData</a> instance has been constructed.</p>
<p>Any subclasses which override this function should make sure that QGeoMapData::init() is called within the body of the overriding function.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@init -->
<!-- $$$mapObjects[overload1]$$$mapObjects -->
<h3 class="fn"><a name="mapObjects"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qlist.html">QList</a></span>&lt;<span class="type"><a href="qgeomapobject.html">QGeoMapObject</a></span> *&gt; QGeoMapData::<span class="name">mapObjects</span> () const</h3>
<p>Returns the map objects associated with this map.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@mapObjects -->
<!-- $$$mapObjectsAtScreenPosition[overload1]$$$mapObjectsAtScreenPositionconstQPointF& -->
<h3 class="fn"><a name="mapObjectsAtScreenPosition"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qlist.html">QList</a></span>&lt;<span class="type"><a href="qgeomapobject.html">QGeoMapObject</a></span> *&gt; QGeoMapData::<span class="name">mapObjectsAtScreenPosition</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qpointf.html">QPointF</a></span> &amp; <i>screenPosition</i> ) const<tt> [virtual]</tt></h3>
<p>Returns the list of visible map objects managed by this map which contain the point <i>screenPosition</i> within their boundaries.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@mapObjectsAtScreenPosition -->
<!-- $$$mapObjectsInScreenRect[overload1]$$$mapObjectsInScreenRectconstQRectF& -->
<h3 class="fn"><a name="mapObjectsInScreenRect"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qlist.html">QList</a></span>&lt;<span class="type"><a href="qgeomapobject.html">QGeoMapObject</a></span> *&gt; QGeoMapData::<span class="name">mapObjectsInScreenRect</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qrectf.html">QRectF</a></span> &amp; <i>screenRect</i> ) const<tt> [virtual]</tt></h3>
<p>Returns the list of visible map objects managed by this map which are displayed at least partially within the on screen rectangle <i>screenRect</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@mapObjectsInScreenRect -->
<!-- $$$mapObjectsInViewport[overload1]$$$mapObjectsInViewport -->
<h3 class="fn"><a name="mapObjectsInViewport"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qlist.html">QList</a></span>&lt;<span class="type"><a href="qgeomapobject.html">QGeoMapObject</a></span> *&gt; QGeoMapData::<span class="name">mapObjectsInViewport</span> () const<tt> [virtual]</tt></h3>
<p>Returns the list of visible map objects manager by this widget which are displayed at least partially within the viewport of the map.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@mapObjectsInViewport -->
<!-- $$$mapOverlays[overload1]$$$mapOverlays -->
<h3 class="fn"><a name="mapOverlays"></a><span class="type"><a href="http://qt.nokia.com/doc/4.7/qlist.html">QList</a></span>&lt;<span class="type"><a href="qgeomapoverlay.html">QGeoMapOverlay</a></span> *&gt; QGeoMapData::<span class="name">mapOverlays</span> () const</h3>
<p>Returns the map overlays associated with this map.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@mapOverlays -->
<!-- $$$mapTypeChanged[overload1]$$$mapTypeChangedQGraphicsGeoMap::MapType -->
<h3 class="fn"><a name="mapTypeChanged"></a><span class="type">void</span> QGeoMapData::<span class="name">mapTypeChanged</span> ( <span class="type"><a href="qgraphicsgeomap.html#MapType-enum">QGraphicsGeoMap::MapType</a></span> <i>mapType</i> )<tt> [signal]</tt></h3>
<p>This signal is emitted when the type of the map has changes.</p>
<p>The value is <i>mapType</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@mapTypeChanged -->
<!-- $$$paint[overload1]$$$paintQPainter*constQStyleOptionGraphicsItem* -->
<h3 class="fn"><a name="paint"></a><span class="type">void</span> QGeoMapData::<span class="name">paint</span> ( <span class="type"><a href="http://qt.nokia.com/doc/4.7/qpainter.html">QPainter</a></span> * <i>painter</i>, const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qstyleoptiongraphicsitem.html">QStyleOptionGraphicsItem</a></span> * <i>option</i> )<tt> [virtual]</tt></h3>
<p>Paints the map and everything associated with it on <i>painter</i>, using the options <i>option</i>.</p>
<p>This will paint the map with <a href="qgeomapdata.html#paintMap">paintMap</a>(), then the map overlays with <a href="qgeomapoverlay.html#paint">QGeoMapOverlay::paint</a>(), then the map objects with <a href="qgeomapdata.html#paintObjects">paintObjects</a>(), and finally <a href="qgeomapdata.html#paintProviderNotices">paintProviderNotices</a>().</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@paint -->
<!-- $$$paintMap[overload1]$$$paintMapQPainter*constQStyleOptionGraphicsItem* -->
<h3 class="fn"><a name="paintMap"></a><span class="type">void</span> QGeoMapData::<span class="name">paintMap</span> ( <span class="type"><a href="http://qt.nokia.com/doc/4.7/qpainter.html">QPainter</a></span> * <i>painter</i>, const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qstyleoptiongraphicsitem.html">QStyleOptionGraphicsItem</a></span> * <i>option</i> )<tt> [virtual protected]</tt></h3>
<p>Paints the map on <i>painter</i>, using the options <i>option</i>.</p>
<p>The map overlays, map objects and the provider notices (such as copyright and powered by notices) are painted in separate methods, which are combined in the <a href="qgeomapdata.html#paint">paint</a>() method.</p>
<p>The default implementation does not paint anything.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@paintMap -->
<!-- $$$paintObjects[overload1]$$$paintObjectsQPainter*constQStyleOptionGraphicsItem* -->
<h3 class="fn"><a name="paintObjects"></a><span class="type">void</span> QGeoMapData::<span class="name">paintObjects</span> ( <span class="type"><a href="http://qt.nokia.com/doc/4.7/qpainter.html">QPainter</a></span> * <i>painter</i>, const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qstyleoptiongraphicsitem.html">QStyleOptionGraphicsItem</a></span> * <i>option</i> )<tt> [virtual protected]</tt></h3>
<p>Paints the map objects on <i>painter</i>, using the options <i>option</i>.</p>
<p>The default implementation makes use of the coordinateToScreenPosition implemented by the subclass to perform object positioning and rendering.</p>
<p>This implementation should suffice for most common use cases, and supports the full range of coordinate systems and transforms available to a <a href="qgeomapobject.html">QGeoMapObject</a>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@paintObjects -->
<!-- $$$paintProviderNotices[overload1]$$$paintProviderNoticesQPainter*constQStyleOptionGraphicsItem* -->
<h3 class="fn"><a name="paintProviderNotices"></a><span class="type">void</span> QGeoMapData::<span class="name">paintProviderNotices</span> ( <span class="type"><a href="http://qt.nokia.com/doc/4.7/qpainter.html">QPainter</a></span> * <i>painter</i>, const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qstyleoptiongraphicsitem.html">QStyleOptionGraphicsItem</a></span> * <i>option</i> )<tt> [virtual protected]</tt></h3>
<p>Paints the provider notices on <i>painter</i>, using the options <i>option</i>.</p>
<p>The provider notices are things like the copyright and powered by notices.</p>
<p>The provider may not want the client developers to be able to move the notices from their standard positions and so we have not provided API support for specifying the position of the notices at this time.</p>
<p>If support for hinting at the position of the notices is to be provided by plugin parameters, the suggested parameter keys are &quot;mapping.notices.copyright.alignment&quot; and &quot;mapping.notices.poweredby.alignment&quot;, with type <a href="http://qt.nokia.com/doc/4.7/qt.html#Alignment-typedef">Qt::Alignment</a>.</p>
<p>The default implementation does not paint anything.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@paintProviderNotices -->
<!-- $$$pan[overload1]$$$panintint -->
<h3 class="fn"><a name="pan"></a><span class="type">void</span> QGeoMapData::<span class="name">pan</span> ( <span class="type">int</span> <i>dx</i>, <span class="type">int</span> <i>dy</i> )<tt> [virtual]</tt></h3>
<p>Pans the map view <i>dx</i> pixels in the x direction and <i>dy</i> pixels in the y direction.</p>
<p>The x and y axes are specified in Graphics View Framework coordinates. By default this will mean that positive values of <i>dx</i> move the viewed area to the right and that positive values of <i>dy</i> move the viewed area down.</p>
<p>Subclasses should call <a href="qgeomapdata.html#center-prop">QGeoMapData::setCenter</a>() when the pan has completed.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@pan -->
<!-- $$$removeMapObject[overload1]$$$removeMapObjectQGeoMapObject* -->
<h3 class="fn"><a name="removeMapObject"></a><span class="type">void</span> QGeoMapData::<span class="name">removeMapObject</span> ( <span class="type"><a href="qgeomapobject.html">QGeoMapObject</a></span> * <i>mapObject</i> )</h3>
<p>Removes <i>mapObject</i> from the list of map objects managed by this map. The map will release ownership of the <i>mapObject</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@removeMapObject -->
<!-- $$$removeMapOverlay[overload1]$$$removeMapOverlayQGeoMapOverlay* -->
<h3 class="fn"><a name="removeMapOverlay"></a><span class="type">void</span> QGeoMapData::<span class="name">removeMapOverlay</span> ( <span class="type"><a href="qgeomapoverlay.html">QGeoMapOverlay</a></span> * <i>overlay</i> )</h3>
<p>Removes <i>overlay</i> from the list of map overlays associated with this map.</p>
<p>The map will release ownership of <i>overlay</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@removeMapOverlay -->
<!-- $$$screenPositionToCoordinate[overload1]$$$screenPositionToCoordinateconstQPointF& -->
<h3 class="fn"><a name="screenPositionToCoordinate"></a><span class="type"><a href="qgeocoordinate.html">QGeoCoordinate</a></span> QGeoMapData::<span class="name">screenPositionToCoordinate</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qpointf.html">QPointF</a></span> &amp; <i>screenPosition</i> ) const<tt> [pure virtual]</tt></h3>
<p>Returns the coordinate corresponding to the point in the viewport at <i>screenPosition</i>.</p>
<p>An invalid <a href="qgeocoordinate.html">QGeoCoordinate</a> will be returned if <i>screenPosition</i> is invalid or is not within the current viewport.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@screenPositionToCoordinate -->
<!-- $$$setBlockPropertyChangeSignals[overload1]$$$setBlockPropertyChangeSignalsbool -->
<h3 class="fn"><a name="setBlockPropertyChangeSignals"></a><span class="type">void</span> QGeoMapData::<span class="name">setBlockPropertyChangeSignals</span> ( <span class="type">bool</span> <i>block</i> )<tt> [protected]</tt></h3>
<p>Sets whether changes to properties will trigger their corresponding signals to <i>block</i>.</p>
<p>By default the <a href="qgeomapdata.html">QGeoMapData</a> implementations of the property functions are used which cause the property notification signals to be emitted immediately.</p>
<p>Calling this function with <i>block</i> set to true will prevent these signals from being called, which will allow a subclass to defer the emission of the signal until a later time.</p>
<p>If this function needs to be called it should be used as soon as possible, preferably in the constructor of the <a href="qgeomapdata.html">QGeoMapData</a> subclass.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@setBlockPropertyChangeSignals -->
<!-- $$$tiltChanged[overload1]$$$tiltChangedqreal -->
<h3 class="fn"><a name="tiltChanged"></a><span class="type">void</span> QGeoMapData::<span class="name">tiltChanged</span> ( <span class="type"><a href="http://qt.nokia.com/doc/4.7/qtglobal.html#qreal-typedef">qreal</a></span> <i>tilt</i> )<tt> [signal]</tt></h3>
<p>This signal is emitted when the tilt of the map has changed.</p>
<p>The new value is <i>tilt</i>.</p>
<p>This function was introduced in Qt Mobility 1.2.</p>
<!-- @@@tiltChanged -->
<!-- $$$updateMapDisplay[overload1]$$$updateMapDisplayconstQRectF& -->
<h3 class="fn"><a name="updateMapDisplay"></a><span class="type">void</span> QGeoMapData::<span class="name">updateMapDisplay</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qrectf.html">QRectF</a></span> &amp; <i>target</i> = QRectF() )<tt> [signal]</tt></h3>
<p>This signal is emitted when the region <i>target</i> of the window which contains the map needs to be updated.</p>
<p>If <i>target</i> is empty then the entire map will be updated.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@updateMapDisplay -->
<!-- $$$viewport[overload1]$$$viewport -->
<h3 class="fn"><a name="viewport"></a><span class="type"><a href="qgeoboundingbox.html">QGeoBoundingBox</a></span> QGeoMapData::<span class="name">viewport</span> () const<tt> [pure virtual]</tt></h3>
<p>Returns a bounding box corresponding to the physical area displayed in the viewport of the map.</p>
<p>The bounding box which is returned is defined by the upper left and lower right corners of the visible area of the map.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@viewport -->
<!-- $$$windowSizeChanged[overload1]$$$windowSizeChangedconstQSizeF& -->
<h3 class="fn"><a name="windowSizeChanged"></a><span class="type">void</span> QGeoMapData::<span class="name">windowSizeChanged</span> ( const <span class="type"><a href="http://qt.nokia.com/doc/4.7/qsizef.html">QSizeF</a></span> &amp; <i>windowSize</i> )<tt> [signal]</tt></h3>
<p>This signal is emitted when the size of the window which contains the map has changed.</p>
<p>The new value is <i>windowSize</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@windowSizeChanged -->
<!-- $$$zoomLevelChanged[overload1]$$$zoomLevelChangedqreal -->
<h3 class="fn"><a name="zoomLevelChanged"></a><span class="type">void</span> QGeoMapData::<span class="name">zoomLevelChanged</span> ( <span class="type"><a href="http://qt.nokia.com/doc/4.7/qtglobal.html#qreal-typedef">qreal</a></span> <i>zoomLevel</i> )<tt> [signal]</tt></h3>
<p>This signal is emitted when the zoom level of the map has changed.</p>
<p>The new value is <i>zoomLevel</i>.</p>
<p>This function was introduced in Qt Mobility 1.1.</p>
<!-- @@@zoomLevelChanged -->
</div>
  <div class="ft">
    <span></span>
  </div>
</div> 
<div class="footer">
  <p>
     <acronym title="Copyright">&copy;</acronym> 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.</p>
  <p>
     All other trademarks are property of their respective owners. <a title="Privacy Policy"
     href="http://qt.nokia.com/about/privacy-policy">Privacy Policy</a></p>
  <br />
  <p>
    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.</p>
  <p>
    Alternatively, this document may be used under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU
    Free Documentation License version 1.3</a>
    as published by the Free Software Foundation.</p>
</div>
</body>
</html>