coslad Well-Known Member Licensed User Longtime User Mar 13, 2015 #1 is there a way to show a panel with buttons and images as the info window on a marker in Google maps ?
is there a way to show a panel with buttons and images as the info window on a marker in Google maps ?
DonManfred Expert Licensed User Longtime User Mar 14, 2015 #2 I dont think so. You can put markers and i think infowindows on a Map. But i dont know what you exactly can display in it. Search forum for that. I personally dont used google maps often. Maybe there is more you can do. I´m sure you will find the answer in forum using the search for googlemap and/or googlemapextras Upvote 0
I dont think so. You can put markers and i think infowindows on a Map. But i dont know what you exactly can display in it. Search forum for that. I personally dont used google maps often. Maybe there is more you can do. I´m sure you will find the answer in forum using the search for googlemap and/or googlemapextras
eurojam Well-Known Member Licensed User Longtime User Mar 14, 2015 #3 You can also try the example provided from Martin which uses a Panel which is called by the InfoWindowAdapter1_GetInfoContents(Marker1 As Marker) As View Event. In this panel you can load a normal b4a layout, containing for example a Button and imageviews for your marker. This will give you more possibilties. https://www.b4x.com/android/forum/threads/googlemapextra-custom-annotation.30695/#post-178622 Upvote 0
You can also try the example provided from Martin which uses a Panel which is called by the InfoWindowAdapter1_GetInfoContents(Marker1 As Marker) As View Event. In this panel you can load a normal b4a layout, containing for example a Button and imageviews for your marker. This will give you more possibilties. https://www.b4x.com/android/forum/threads/googlemapextra-custom-annotation.30695/#post-178622
warwound Expert Licensed User Longtime User Mar 14, 2015 #4 But the Panel used for a custom infowindow will be converted to an image and drawn on the map - if the infowindow contains buttons then those buttins will no longer be clickable. This is a FAQ on forums like Stackoverflow. There's no easy solution. Upvote 0
But the Panel used for a custom infowindow will be converted to an image and drawn on the map - if the infowindow contains buttons then those buttins will no longer be clickable. This is a FAQ on forums like Stackoverflow. There's no easy solution.