[core] Fixed annotation icon replacement

Another pass at #3146, including a unit test.
This commit is contained in:
Minh Nguyễn
2015-12-15 21:04:15 -08:00
parent 0f37b670ba
commit e304033552
5 changed files with 28 additions and 10 deletions

View File

@@ -392,7 +392,7 @@ void Map::addAnnotationIcon(const std::string& name, std::shared_ptr<const Sprit
}
void Map::removeAnnotationIcon(const std::string& name) {
removeAnnotationIcon(name);
context->invoke(&MapContext::removeAnnotationIcon, name);
}
double Map::getTopOffsetPixelsForAnnotationIcon(const std::string& symbol) {