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:
Konstantin Käfer
2015-02-11 13:56:16 -08:00
parent cf235c6592
commit e00bae4f1c
5 changed files with 11 additions and 6 deletions

View File

@@ -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();