summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorJustin R. Miller <incanus@codesorcery.net>2015-03-23 20:49:02 -0700
committerJustin R. Miller <incanus@codesorcery.net>2015-03-23 20:49:02 -0700
commitc5597ad6f1b5140406d8059d27c7a5ca90ba40de (patch)
tree271c96fa408d7fa2d5b9816c75c7041f87f8ae04 /platform
parent77c386251e3c3a361fe8d145b4f3b15208ab9d47 (diff)
downloadqtlocation-mapboxgl-c5597ad6f1b5140406d8059d27c7a5ca90ba40de.tar.gz
annotations perf improvements & iOS app testing
squash of #1061
Diffstat (limited to 'platform')
-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 8593e9da5c..6cc8b7a0fe 100644
--- a/platform/ios/MGLMapView.mm
+++ b/platform/ios/MGLMapView.mm
@@ -1643,7 +1643,7 @@ CLLocationCoordinate2D latLngToCoordinate(mbgl::LatLng latLng)
{
assert([annotation conformsToProtocol:@protocol(MGLAnnotation)]);
- annotationIDsToRemove.push_back([[self.annotationsStore objectForKey:annotation] unsignedIntValue]);
+ annotationIDsToRemove.push_back([[[self.annotationsStore objectForKey:annotation] objectForKey:MGLAnnotationIDKey] unsignedIntValue]);
[self.annotationsStore removeObjectForKey:annotation];
}