Android Question Load KML file on Google Maps

ThePuiu

Active Member
Licensed User
Longtime User
Hi,
Is there a possibility to display a KML layer on a Google Maps? I can show markers but I'm interested in having a KML layer alongside them.
Thank you!
 

DonManfred

Expert
Licensed User
Longtime User
I don´t know the definition of an KML but i guess you need to parse the KML and create Markers, Pologons or whatever and add them to your map by yourself.

At least i don´t know a way to do it automatically.
 
Upvote 0

ThePuiu

Active Member
Licensed User
Longtime User
I would like to be able to display the layer as well as the current position on the map. I thought if I could not otherwise send a current position to a web server and generate the map with the current layer and marker and then display it in a WebView .... rather complicated.
 

Attachments

  • sample.zip
    2.5 KB · Views: 338
Upvote 0

ThePuiu

Active Member
Licensed User
Longtime User
My KML layers are more complex than a pollyline ... I've solved the problem as I suggested in the previous post. It is not elegant, but it works well.
 
Upvote 0
Top