2210: Sprites can be removed / updated correctly

This commit is contained in:
Romain Quidet
2015-11-30 14:18:10 +01:00
committed by Minh Nguyễn
parent 02a32b55e4
commit af45d87e54
7 changed files with 24 additions and 5 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) {
addAnnotationIcon(name, nullptr);
removeAnnotationIcon(name);
}
double Map::getTopOffsetPixelsForAnnotationIcon(const std::string& symbol) {