Icon Heading - bug?

28 views
Skip to first unread message

phil....@sunandshadows.net

unread,
Oct 30, 2009, 7:28:05 PM10/30/09
to KML Developer Support - Google Earth Plug-in
Sometime recently, in the GE API, has the way in which the icon
heading changed ?. The documentation clearly shows that the icon
heading is the map heading and not the screen heading.

For this KML placemark,

<Placemark id = 'Bedlington, Northumberland, UK'>
<name>Bedlington Northumberland England, (UK)</name>
<address>Bedlington, Northumberland, UK</address>
<description><![CDATA[
<p>Latitude:55&#176;8'N Longitude:1&#176;36'W</p>
<p><a target = '_blank' href = 'http://www.artisanindustrials.com/
world-of-sundials/spectra-sundial-bedlington-northumberland-
england.html'><img src='http://www.artisanindustrials.com/Images/
SundialWorldImages/spectra-sundial-bedlington-northumberland-england-
t.jpg ' /></a></p>
<p>2005 North American Sundial Society Sawyer Dialing Prize Trophy
Dial. Direct South Spectra Sundial. A picture of this sundial may be
found in the <a target = '_blank' href = 'http://
www.artisanindustrials.com/spectra-sundial-gallery.html'>Spectra
Sundial Gallery.</a></p>
]]></description>
<LookAt>
<longitude>-1.592961</longitude>
<latitude>55.130545</latitude>
<altitude>0</altitude>
<range>3873.950439</range>
<tilt>0</tilt>
<heading>0</heading>
<altitudeMode>relativeToGround</altitudeMode>
</LookAt>
<styleUrl>#sundial</styleUrl>
<Style>
<IconStyle>
<heading>0</heading>
<Icon>
<href>http://www.artisanindustrials.com/Images/SundialWorldImages/
ArtisanSpectraSunIcon.png</href>
</Icon>
</IconStyle>
</Style>
<Point>
<coordinates>-1.592961,55.130545,0</coordinates>
</Point>
</Placemark>



In my GE application (5.1.3509.4636), this is how it appears,
correctly, with the heading 0 ( = N)

Screenshots:
http://www.artisanindustrials.com/Images/SundialWorldImages/bedlington-GEapplication-N.png
http://www.artisanindustrials.com/Images/SundialWorldImages/bedlington-GEapplication-E.png,

With my GE api, this webpage, using "fetchKML"
http://www.artisanindustrials.com/world-of-sundials/artisan-sundials-world-8a.html

results in these corresponding screenshots:
http://www.artisanindustrials.com/Images/SundialWorldImages/bedlington-GEapi-N.png
http://www.artisanindustrials.com/Images/SundialWorldImages/bedlington-GEapi-E.png

where the icon heading is based, incorrectly, in the Screen heading.


My project relies in the placemarks' icon heading. I feel sure that
this is a bug. Is there a
work-around?

Best,

Phil Walker






StarTraX

unread,
Oct 31, 2009, 6:02:05 AM10/31/09
to KML Developer Support - Google Earth Plug-in
There is a bug report related to icon headings at
http://code.google.com/p/earth-api-samples/issues/detail?id=131 which
may relate to your problem


On Oct 31, 10:28 am, "[email address]" wrote:
> Sometime recently, in the GE  API, has the way in which the icon
> heading changed ?. The documentation clearly shows that the icon
> heading is the map heading and not the screen heading.
>
> For this KML placemark,
>
> <Placemark id = 'Bedlington, Northumberland, UK'>
>                 <name>Bedlington Northumberland England, (UK)</name>
>                 <address>Bedlington, Northumberland, UK</address>
>                 <description><![CDATA[
>                         <p>Latitude:55&#176;8'N Longitude:1&#176;36'W</p>
>                         <p><a target = '_blank' href = 'http://www.artisanindustrials.com/
> world-of-sundials/spectra-sundial-bedlington-northumberland-
> england.html'><img src='http://www.artisanindustrials.com/Images/
> SundialWorldImages/spectra-sundial-bedlington-northumberland-england-
> t.jpg ' /></a></p>
>                         <p>2005 North American Sundial Society Sawyer Dialing Prize Trophy
> Dial. Direct South Spectra Sundial. A picture of this sundial may be
> found in the <a target = '_blank' href = 'http://www.artisanindustrials.com/spectra-sundial-gallery.html'>Spectra
> Screenshots:http://www.artisanindustrials.com/Images/SundialWorldImages/bedlingto...http://www.artisanindustrials.com/Images/SundialWorldImages/bedlingto...,
>
> With my GE api, this webpage, using "fetchKML"http://www.artisanindustrials.com/world-of-sundials/artisan-sundials-...
>
> results in these corresponding screenshots:http://www.artisanindustrials.com/Images/SundialWorldImages/bedlingto...http://www.artisanindustrials.com/Images/SundialWorldImages/bedlingto...

phil....@sunandshadows.net

unread,
Nov 3, 2009, 11:33:52 AM11/3/09
to KML Developer Support - Google Earth Plug-in
Hi Group Members,

I posted this discussion about what I think sure is a bug.

StarTrax suggests it is related to issue 131.

Has anyone else thoughts about this problem? It is central to my
project

Phil
> > Screenshots:http://www.artisanindustrials.com/Images/SundialWorldImages/bedlingto......,
>
> > With my GE api, this webpage, using "fetchKML"http://www.artisanindustrials.com/world-of-sundials/artisan-sundials-...
>
> > results in these corresponding screenshots:http://www.artisanindustrials.com/Images/SundialWorldImages/bedlingto......
Reply all
Reply to author
Forward
0 new messages