0

I'm using Mapbox Maps(v10.7.0) in my app, two things I want to achieve

  1. Remove all markers (PointAnnotation)

  2. Drag a marker and drop in another location

         let pointAnnotationManager = mapView.annotations.makePointAnnotationManager()
         pointAnnotationManager?.annotations.removeAll()
    

Tried above code to remove marker, but it's not removing any... How to achieve this...

Human
  • 326
  • 2
  • 3
  • 15

0 Answers0