Reputation: 2613
How can I set an Image at the certain location in the Google Maps using Google Maps API and handle its click listener? Please provide the step by step solution? Note: I am not talking about Markers.
Upvotes: 2
Views: 3077
Reputation: 988
I believe the easiest way to implement this would be to still use a marker, but set a custom icon.
Something like this should work:
photoMarker = mMap.addMarker(new MarkerOptions().position(photoLatLng).icon(BitmapDescriptorFactory.fromResource(R.drawable.photo)));
See documentation here.
Upvotes: 1