:D
I'm trying to delete an overlay that is in a mapView
i try this :
myLocation is the mapView
let overlays = myLocation.overlays
myLocation.removeOverlays(overlays)
and this :
var polyline : MKPolyline = MKPolyline()
myLocation.removeOverlay(polyline)
but both don't work for me :C
anyone can help me pls?