ThePuiu Active Member Licensed User Longtime User Sep 4, 2012 #1 Hello, I want to display information from kml files over a google map. InB4A is that possible? Thank you!
Hello, I want to display information from kml files over a google map. InB4A is that possible? Thank you!
warwound Expert Licensed User Longtime User Sep 4, 2012 #2 Presumably by Google Map you mean a Google Maps API map in a WebView? Take a look at the documentation: https://developers.google.com/maps/documentation/javascript/layers#KMLLayers. I'd suggest you get that working in a desktop browser and then add the working code to your B4A project rather than trying to get it working on a device - debugging errors is far easier on a desktop browser. There's been some recent changes on how Google renders KML and you can read about that here: https://groups.google.com/forum/?hl=en&fromgroups=#!topic/google-maps-js-api-v3/WQdwZ3jf6p4. Martin. Upvote 0
Presumably by Google Map you mean a Google Maps API map in a WebView? Take a look at the documentation: https://developers.google.com/maps/documentation/javascript/layers#KMLLayers. I'd suggest you get that working in a desktop browser and then add the working code to your B4A project rather than trying to get it working on a device - debugging errors is far easier on a desktop browser. There's been some recent changes on how Google renders KML and you can read about that here: https://groups.google.com/forum/?hl=en&fromgroups=#!topic/google-maps-js-api-v3/WQdwZ3jf6p4. Martin.