summaryrefslogtreecommitdiff
path: root/platform/ios/MGLMapView.mm
diff options
context:
space:
mode:
authorRomain Quidet <romain.quidet.ext@mappy.com>2015-11-30 14:18:10 +0100
committerMinh Nguyễn <mxn@1ec5.org>2015-12-15 16:36:17 -0800
commitaf45d87e54e36f9899507d31c4b79669a254350e (patch)
tree0840dcb2a9b9736e28e32473b750a2687ade3743 /platform/ios/MGLMapView.mm
parent02a32b55e4ec392d213d435354bbcd2f33cef40c (diff)
downloadqtlocation-mapboxgl-af45d87e54e36f9899507d31c4b79669a254350e.tar.gz
2210: Sprites can be removed / updated correctly
Diffstat (limited to 'platform/ios/MGLMapView.mm')
-rw-r--r--platform/ios/MGLMapView.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/MGLMapView.mm b/platform/ios/MGLMapView.mm
index fc4a655e6f..5d944e81fe 100644
--- a/platform/ios/MGLMapView.mm
+++ b/platform/ios/MGLMapView.mm
@@ -2718,7 +2718,7 @@ std::chrono::steady_clock::duration MGLDurationInSeconds(float duration)
{
// remove sprite
NSString *symbolName = [MGLAnnotationSpritePrefix stringByAppendingString:annotationImage.reuseIdentifier];
- _mbglMap->removeSprite(symbolName.UTF8String);
+ _mbglMap->removeAnnotationIcon(symbolName.UTF8String);
[self installAnnotationImage:annotationImage];
_mbglMap->update(mbgl::Update::Annotations);
}