Reputation: 639
I am using google map v2 api. I want to show the overlay items when clicking icons in google map. And also if i am tapping that overlay i need to show another view. Is it possible to customize the overlay? If anybody knows kindly share your thoughts. Thanks.
Upvotes: 0
Views: 1549
Reputation: 21452
overlay mean put image on map describing what ever you want
this video will describe how to overlay image on map
https://www.youtube.com/watch?v=6vowN3gHAlU
but If you need clear example in android
LatLng NEWARK = new LatLng(40.714086, -74.228697);
GroundOverlayOptions newarkMap = new GroundOverlayOptions()
.image(BitmapDescriptorFactory.fromResource(R.drawable.newark_nj_1922))
.position(NEWARK, 8600f, 6500f);
map.addGroundOverlay(newarkMap);
source https://developers.google.com/maps/documentation/android/groundoverlay
Upvotes: 0
Reputation: 19
You should customize your Info Window, these links can help you:
https://developers.google.com/maps/documentation/android/marker#info_windows
Upvotes: 1