Nymor
unread,May 6, 2009, 8:17:32 PM5/6/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to KML Developer Support - Getting Started with KML
No - but you would have to specify the heading you want in each
placemark.
If you use the same styleurl for each placemark you can override any
of the settings at the placemark level. So you could use the same icon
behaviour but different colours say - or in you case different
headings.
So let's say you have a style (or stylemap) defined that included
various stuff including specifying an icon - you could then have 2
placemarks who both reference that style but the second of which turns
the icon by 90degs....
<Placemark>
<name>PM1</name>
<styleUrl>#mystyle</styleUrl>
<Point><coordinates>0,0,0</coordinates></Point>
</Placemark>
<Placemark>
<name>PM2</name>
<styleUrl>#mystyle</styleUrl>
<Style>
<IconStyle>
<heading>90</heading>
</IconStyle>
</Style>
<Point><coordinates>0,0,0</coordinates></Point>
</Placemark>
Just tested that and it seemed to work - but hopefully someone will
shout if that's not the correct way of doing it.
Hope that helps
Regards
Nymor