Add dropdown to select map style

This commit is contained in:
Leith Bade
2014-11-23 16:06:50 +11:00
parent 8c5be67f14
commit 198a8eb455
8 changed files with 134 additions and 45 deletions

View File

@@ -411,7 +411,13 @@ void Map::setup() {
void Map::setStyleURL(const std::string &url) {
// TODO: Make threadsafe.
// TODO fix this properly
styleURL = url;
if (async) {
stop();
start();
}
}