KML colors

  • DavidPinheiro
  • Topic Author
  • Offline
  • New Member
  • New Member
More
13 years 10 months ago - 13 years 10 months ago #778 by DavidPinheiro
KML colors was created by DavidPinheiro
Hi Dima!

When i use the example
gmaps-samples.googlecode.com/svn/trunk/ggeoxml/cta.kml
everything shows correctly.
But when i use my own file (attached) is shows ok on Google Earth (one feature is yellow, another is green), but shows only in blue in ZH plugin

Best regards.
David
Last edit: 13 years 10 months ago by DavidPinheiro. Reason: Attached file extension

Please Log in or Create an account to join the conversation.

More
13 years 10 months ago #779 by Dima
Replied by Dima on topic Re: KML colors
Hi David
You mistake in your styles.
Compare what it named and used in google's file, and in yours

You create "style" and "style0"
<Style id="style">
but call
<styleUrl>#</styleUrl>
<styleUrl>#0</styleUrl>

And in google's
<Style id="brownLine">
and call
<styleUrl>#brownLine</styleUrl>

Don't forget support my developments: post review in JED , donate , help with translation ;)
The following user(s) said Thank You: DavidPinheiro

Please Log in or Create an account to join the conversation.

Time to create page: 4.722 seconds
Powered by Kunena Forum