- Posts: 6
- Thank you received: 0
KML colors
- DavidPinheiro
- Topic Author
- Offline
- New Member
Less
More
12 years 5 months ago - 12 years 5 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
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: 12 years 5 months ago by DavidPinheiro. Reason: Attached file extension
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
12 years 5 months ago #779
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
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>
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: 0.177 seconds