diff options
author | David Laing <david.laing@nokia.com> | 2012-02-01 15:16:28 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-02-02 07:34:20 +0100 |
commit | 8981b5a525849718c1ba601da2ad7478c15b5702 (patch) | |
tree | bd39b6baab25a1f19f4ad1d60ea5497ec86059bb /src/location/maps/qgeomappingmanagerengine_p.h | |
parent | bbacf2e03133f014cd7edf0bc9110714d00e37f8 (diff) | |
download | qtlocation-8981b5a525849718c1ba601da2ad7478c15b5702.tar.gz |
Cleans up the projection code.
There was no longer any point in providing the
screen <-> 3d scene position functions, which
meant that the projection class was just
doing coordinate <-> mercator conversions and
intepolating coordinates.
The interpolation code was moved out and the
mercator conversions were made static.
We have future changes coming which will allow
people who want different projections to provide
them, so it's not to big a deal to specialize
the class towards the mercator projection.
There were some other small changes made which
make the map actually pay attention to the size
of the tiles and the maximum zoom level as per
the plugin.
Actually enforcing the tilt / bearing / zoom
parameters will appear in a separate commit
before very long.
Change-Id: I31dc39165bde123fbe8e3e2e70e401c5d73932b3
Reviewed-by: Alex Wilson <alex.wilson@nokia.com>
Diffstat (limited to 'src/location/maps/qgeomappingmanagerengine_p.h')
-rw-r--r-- | src/location/maps/qgeomappingmanagerengine_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/location/maps/qgeomappingmanagerengine_p.h b/src/location/maps/qgeomappingmanagerengine_p.h index 6d838da7..18df4b95 100644 --- a/src/location/maps/qgeomappingmanagerengine_p.h +++ b/src/location/maps/qgeomappingmanagerengine_p.h @@ -81,7 +81,7 @@ public: QList<QGeoMapType> supportedMapTypes; // QList<QGraphicsGeoMap::ConnectivityMode> supportedConnectivityModes; - QSize tileSize; + int tileSize; qreal minimumZoomLevel; qreal maximumZoomLevel; bool supportsBearing; |