GGeoXml (or Google Maps) dont support icon rotation at the moment.

Primarlly because image rotation is not well supported in browsers
yet. The cartrip example uses canvas to rotate, and I imagine Google
will want better browser support (**) before implementing it.


** For example IE (6+7 at least) dont support it, which like it or not
still have a the dominent market share.


2009/1/6 sabrick <[email protected]>:
>
> 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?
>
> >
>



-- 
Barry

- www.nearby.org.uk - www.geograph.org.uk -

--~--~---------~--~----~------------~-------~--~----~
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