I am working on google map iOS sdk. Here I create multiple markers in separate location co-ordinates.
Now I need to add identifier such like TAG for all markers to perform action for particular marker.
If TAG or some other identifier option is not available in google map iOS sdk, please suggest me how to archive it.
Thanks in Advance.
What I do is that I simply inherit the GMSMarker and add whatever data I need to it like this, I guess this is the best and easiest option you have.
EDIT:
I thought it is clear but I'll continue on how to get the data... When you create your markers and add them to the map, you create ATGoogleMapsSelectiveMarker and add it to the map after you fill it with everything you need, then you register any class you want as a delegate which implements GMSMapViewDelegate and you implement this method