Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android : Custom Pin Marker with buttons in Google Map API 2

I am working on android tracking application.

I need to show Connected friends on MapView. Each Friends marker contains image(Person image) and two buttons(Make Call and message) .

Note : The two buttons should show after image pressed.

I try this sample http://www.nasc.fr/android/android-using-layout-as-custom-marker-on-google-map-api/. It shows only TextView.

Is there any way to add custom marker with button or any other ideas to achieve this?

Below image shows the map-view that i want to add live views.

Thanks in Advance

enter image description here

like image 554
AndHobbiest Avatar asked Dec 21 '22 02:12

AndHobbiest


1 Answers

If I'm not wrong, you're looking for infowindowadapter. Did you try infowindowadapter ? If not please implement it .

Here is the link

Visit Here

Thanks. Let me know if it helps.

like image 89
TheLittleNaruto Avatar answered Dec 28 '22 06:12

TheLittleNaruto