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
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user