Google-maps kml, how to designate a line of a line?

I have a website that displays kml Line Strings as bike routes on Google maps.

I would like to outline the routes, but could not do it.
I could not add the bubble to the row string. I placed Placemark along the route and it appeared as an icon, but I could not find a way to label them. I could not change the icon to the png icon with the text I need.

I tried different things, usually looking at these documents, but just tried many different things.

https://developers.google.com/kml/documentation/mapsSupport

https://developers.google.com/kml/documentation/kmlelementsinmaps

I do not know for sure whether this is possible simply or if I am doing something wrong.

The only thing I can think of is to draw a line string in Google Earth in the form of the characters I need for my shortcut, in the location I want to display, but it seems silly, it should be easier than that.

Could anyone add tags to the kml file for display in google map 3 API?

+5
source share
1 answer

If I understand your question, I believe that it has already been asked here . In addition, in your question you are talking about changing the Placemark icon, and there is another answer that I think relates to this part of your question. Hope this helps -

+4
source

All Articles