mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
OP37/GCS MapLib - Increased google true zoom to 21. It seems it was increased on one of the latest google maps versions. Thanks Peabody and Pip for the heads up.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1748 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
a64981ae4c
commit
e2dde2c097
@ -34,7 +34,7 @@ using namespace projections;
|
|||||||
|
|
||||||
namespace internals {
|
namespace internals {
|
||||||
Core::Core():MouseWheelZooming(false),currentPosition(0,0),currentPositionPixel(0,0),LastLocationInBounds(-1,-1),sizeOfMapArea(0,0)
|
Core::Core():MouseWheelZooming(false),currentPosition(0,0),currentPositionPixel(0,0),LastLocationInBounds(-1,-1),sizeOfMapArea(0,0)
|
||||||
,minOfTiles(0,0),maxOfTiles(0,0),zoom(0),isDragging(false),TooltipTextPadding(10,10),loaderLimit(5),maxzoom(17),started(false)
|
,minOfTiles(0,0),maxOfTiles(0,0),zoom(0),isDragging(false),TooltipTextPadding(10,10),loaderLimit(5),maxzoom(21),started(false)
|
||||||
{
|
{
|
||||||
mousewheelzoomtype=MouseWheelZoomType::MousePositionAndCenter;
|
mousewheelzoomtype=MouseWheelZoomType::MousePositionAndCenter;
|
||||||
SetProjection(new MercatorProjection());
|
SetProjection(new MercatorProjection());
|
||||||
@ -329,7 +329,7 @@ namespace internals {
|
|||||||
if(Projection()->Type()!="MercatorProjection")
|
if(Projection()->Type()!="MercatorProjection")
|
||||||
{
|
{
|
||||||
SetProjection(new MercatorProjection());
|
SetProjection(new MercatorProjection());
|
||||||
maxzoom=17;
|
maxzoom=21;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user