Android Question Google Maps questions: marker click event and streetmaps

acorrias

Member
Licensed User
Longtime User
Hi all
I'm going to design a museal app with aims to show some point of interest (garden statues and trees) in a google map obiect. I use a kml file edited with Google Earth and parsed with xmlsax. Now I managed to load pois and show them as markers on a googlemap object.

I was a bit hesitant about the kind of code to develop. That is a) Google Map object vs b) webview showing a javascript google map. I decided to use google map object.

My problem is that I need to have markers clickable in order to follow a url link to show a web page related to the poi-marker. And I wish to have streetmap link on the map (the yellow man button).

so
1) is there a way to have markers click event?
2) is there a way to show streetmap on map?

I found MarkerClick in b4j documentation but I cannot find it on b4a help.-

I looked for help in docs but without any solution. Even also with googlemapsextras.

I realize that it is not possibile. That is, the solution seems to be the develop a complete html5app (just the one in the html5wrapper).
Could you suggest a kind of solution?

thanks in advance
alex


SOLVED: I found MapFragment1_MarkerClick event in mapfragment object.
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…