Correcting bug when deleting PlaceMarkers

pull/7/head
Arthur VALIN 2 years ago
parent b874656c8c
commit 080f5a176b

@ -12,7 +12,8 @@ class PlaceMarker(val mapView: MapView, val locations: MutableSet<GeoPoint>) : M
locations.remove(this.position) locations.remove(this.position)
this.closeInfoWindow() this.closeInfoWindow()
mapView?.overlays?.remove(this) mapView?.overlays?.remove(this)
}
return true return true
} }
return false
}
} }
Loading…
Cancel
Save