Associate data with a marker
https://stackoverflow.com/questions/14054122/associate-an-object-with-marker-google-map-v2
You can store an arbitrary data object with a marker using
Marker.setTag()
, and retrieve the data object usingMarker.getTag()
link
It's easier than storing a separate Map<Marker, Object>