Skip to content
This repository has been archived by the owner on Aug 8, 2023. It is now read-only.

Commit

Permalink
[ios] Fix image property of MGLAnnotationImage does not update.
Browse files Browse the repository at this point in the history
  • Loading branch information
fabian-guerra committed Nov 2, 2017
1 parent e5243b7 commit becf7a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/ios/src/MGLMapView.mm
Original file line number Diff line number Diff line change
Expand Up @@ -4301,7 +4301,7 @@ - (void)annotationImageNeedsRedisplay:(MGLAnnotationImage *)annotationImage

// Remove the old icon from the style.
if ( ! [iconIdentifier isEqualToString:fallbackIconIdentifier]) {
_mbglMap->removeAnnotationImage(iconIdentifier.UTF8String);
// _mbglMap->removeAnnotationImage(iconIdentifier.UTF8String);
}

if (annotationImage.image)
Expand Down

0 comments on commit becf7a0

Please sign in to comment.