How can we add an object to a marker in the new Google Maps Android API v2?
So if we click on the InfoWindow
, we can do something with the obje
Try android-maps-extensions its library where you can add object to mark by setdata method and retrieve data call method getData
Read more
Object getData() and setData(Object) on Marker, Circle, GroundOverlay, Polygon, Polyline or TileOverlay
from Gradle You may use any version of Google Play Services
dependencies {
compile 'com.androidmapsextensions:android-maps-extensions:2.2.0'
compile 'com.google.android.gms:play-services-maps:8.1.0'
}