windrobin / winforms-geplugin-control-library

Automatically exported from code.google.com/p/winforms-geplugin-control-library
GNU General Public License v3.0
0 stars 1 forks source link

<href> tag in IconStyle not working with local files #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Use a KML file with an IconStyle referring to a local file icon like this:

<Style id="AirportStyle">
      <IconStyle>
        <color>FFAACD66</color>
        <colormode>normal</colormode>
        <Icon>
          <href>V:\WORK\AppTest\Config\Symbols\AIRPORT.png</href>
        </Icon>
      </IconStyle>

2. This file works in Google Earth, but not with the plugin, I guess that's
because of the file / url difference 
3. With URLs the icon is found normally

What is the expected output? What do you see instead?
I'd expect to see the icon (taken from the local file). Maybe it's the same
difference as FetchKml and FetchKmlLocal

What version of the product are you using? On what operating system?
Latest source code, win XP pro

Please provide any additional information below.

Original issue reported on code.google.com by zing...@gmail.com on 28 Oct 2009 at 8:33

GoogleCodeExporter commented 9 years ago
Hi, local icon files are not supported. This is a limitation of the Api and 
JavaScript in general.

Original comment by fraser.c...@gmail.com on 28 Oct 2009 at 6:38

GoogleCodeExporter commented 9 years ago
This is likely the cause of my screen overlay problem. Is there a workaround 
for 
this? 

Thanks

Original comment by robert.s...@lacota.com on 5 Nov 2009 at 3:29

GoogleCodeExporter commented 9 years ago
See http://code.google.com/p/winforms-geplugin-control-library/wiki/Server

Original comment by fraser.c...@gmail.com on 26 Nov 2009 at 4:26