http://econym.org.uk/gmap/example_cartrip3.htm

icon is rotating when required, uses some maths to find bearing of two
points then applies the rotation to the image.

Mapperz
http://mapperz.blogspot.com/

On Jan 6, 12:39 pm, sabrick <[email protected]> wrote:
> I bring in kmls which are dynamically created server-side like this:
>
> var KML = new GGeoXml("http://someURL/someKML.kml";);
> map.addOverlay(KML);
>
> These kmls hold Icons, like this:
>
>     <Placemark id = "367083580">
>       <name>ROCKFISH</name>
> <styleUrl>NSV</styleUrl>
>       <Point>
>         <coordinates>-95.23,29.725725,0</coordinates>
>       </Point>
>       <Style>
>         <IconStyle>
>           <scale>.7</scale>
>           <heading>250</heading>
>           <Icon>
>           <href>http://muURL/someIcon.png</href>
>           </Icon>
>         </IconStyle>
>       </Style>
>     </Placemark>
>
> In GoogleEarth, the <heading> node controls the rotation of the Icon
> from 0 to 360 degrees. Google Maps, however, Ignores this node and
> displays the icon's as always having a 0 degree rotation. Any
> suggestions?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to