Удалить полилинию из MapKit - PullRequest
       14

Удалить полилинию из MapKit

0 голосов
/ 23 октября 2018

Рисуя полилинию с аннотациями, я могу удалить аннотации, но не полилинию

 let polylineValue = MKPolyline(coordinates: &points, count:points.count)
 mapView.add(polylineValue!)
 self.mapView.removeOverlays(mapView.overlays)

enter image description here

...