thientung / winforms-geplugin-control-library

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

LoadKmlLocal #115

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I see there is a function call LoadKmlLocal, but it does not seem to work.

Is loading of a local kml file supported?

Thanks,
Vu

Original issue reported on code.google.com by vu.d...@gmail.com on 21 Jan 2014 at 4:46

GoogleCodeExporter commented 9 years ago
Do you mean `GEWebBrowser.FetchKmlLocal()`?

If so, it does work - but it probably doesn't do what you want it to.
FetchKmlLocal loads a local kml file by reading the file as a string and then 
passing that to `GEPlugin.parseKml()`

Things like kmz, dae, images will not work using this method. Also, any 
relative URLs in the kml will be broken.

It is useful for loading basic, self contained, kml files only.

If you are planning on working with local files I would suggest you use the 
GEServer.

You can see an example of that here.
https://code.google.com/p/winforms-geplugin-control-library/wiki/usingTheServer

Original comment by fraser.c...@gmail.com on 21 Jan 2014 at 7:22

GoogleCodeExporter commented 9 years ago
No further development now that the Earth API is depreciated. 

Original comment by fraser.c...@gmail.com on 17 Dec 2014 at 3:20