summaryrefslogtreecommitdiff
path: root/src/mbgl
diff options
context:
space:
mode:
authorTobrun <tobrun.van.nuland@gmail.com>2016-11-11 18:13:25 +0100
committerGitHub <noreply@github.com>2016-11-11 18:13:25 +0100
commit720a0256f50442e50d12e3b251dc6cb9dcc7f484 (patch)
treeddedad585149377eb195b909c5f355ab6d6df9f6 /src/mbgl
parent1beb28e75bc70dba9c4a79d87da79cbb51ed19db (diff)
downloadqtlocation-mapboxgl-720a0256f50442e50d12e3b251dc6cb9dcc7f484.tar.gz
Default Style Camera on Android (#7019)
* [core] - do not set camera mutated to true when calling Map::getLatLng * [android] - correctly check if a Map is created without a camera position
Diffstat (limited to 'src/mbgl')
-rw-r--r--src/mbgl/map/map.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mbgl/map/map.cpp b/src/mbgl/map/map.cpp
index ff36bd7264..57845080f4 100644
--- a/src/mbgl/map/map.cpp
+++ b/src/mbgl/map/map.cpp
@@ -492,7 +492,6 @@ void Map::setLatLng(const LatLng& latLng, optional<ScreenCoordinate> anchor, con
}
LatLng Map::getLatLng(optional<EdgeInsets> padding) const {
- impl->cameraMutated = true;
return impl->transform.getLatLng(padding);
}