[android] #4063 - fix update point annotation broken

This commit is contained in:
Tobrun
2016-02-25 10:46:32 +01:00
parent c7285b0368
commit a5b39f5ae1
2 changed files with 2 additions and 1 deletions

View File

@@ -518,6 +518,7 @@ public class MapboxMap {
public Marker addMarker(@NonNull BaseMarkerOptions markerOptions) {
Marker marker = prepareMarker(markerOptions);
long id = mMapView.addMarker(marker);
marker.setMapboxMap(this);
marker.setId(id);
mAnnotations.put(id, marker);
return marker;