ios - How to delete a polygon on map -


i implemented map using apple's native f/w , have implemented functionality add polygons on map. now, want have "close" button @ edge of each polygon , when click on button, need delete polygon (one polygon @ time). have tried creating button on polygon edge, unable make action on clicking button. have tried annotations well. in case, unable create close button on polygons; able have close button (annotation) on last polygon created when click on button, polygon created first getting deleted. kindly suggest me solution have close button on each polygon, , delete polygon(one one) on clicking button.


Comments

Popular posts from this blog

rdbms - what exactly the undo information lives in oracle? -

bash - How do you programmatically add a bats test? -

clojure - 'get' replacement that throws exception on not found? -