lock the StyleBucket to avoid crashing
stopgap until we have a solution that doesn't mutate the style objects while parsing a tile
This commit is contained in:
@@ -416,6 +416,10 @@ void Map::setLatLng(LatLng latLng, std::chrono::steady_clock::duration duration)
|
||||
update();
|
||||
}
|
||||
|
||||
LatLng Map::getLatLng() const {
|
||||
return state.getLatLng();
|
||||
}
|
||||
|
||||
void Map::startPanning() {
|
||||
transform.startPanning();
|
||||
update();
|
||||
|
||||
Reference in New Issue
Block a user