diff options
author | Romain Quidet <romain.quidet.ext@mappy.com> | 2015-11-30 14:18:10 +0100 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2015-12-15 16:36:17 -0800 |
commit | af45d87e54e36f9899507d31c4b79669a254350e (patch) | |
tree | 0840dcb2a9b9736e28e32473b750a2687ade3743 /platform/ios/MGLMapView.mm | |
parent | 02a32b55e4ec392d213d435354bbcd2f33cef40c (diff) | |
download | qtlocation-mapboxgl-af45d87e54e36f9899507d31c4b79669a254350e.tar.gz |
2210: Sprites can be removed / updated correctly
Diffstat (limited to 'platform/ios/MGLMapView.mm')
-rw-r--r-- | platform/ios/MGLMapView.mm | 2 |
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); } |