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

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -