sagulnet / 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

Update GEWebBrowser to support fetching local KMZ files #53

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What should this feature enhancement do?
The other Fetch methods indicate that they support KML and KMZ files, despite 
their name being "FetchKml*". The FetchKmlLocal only works with KML (KMZs seem 
to be ignored with no error). It would be nice if we could locally fetch KMZ 
files.

Are there any known workarounds that produce the similar results?

Please provide any additional information below.
Thanks for your time.

Original issue reported on code.google.com by mark.fre...@gmail.com on 14 Sep 2011 at 6:12

GoogleCodeExporter commented 8 years ago
Yes use the internal server class to seamlessly work with local kmz files, see: 
http://code.google.com/p/winforms-geplugin-control-library/wiki/usingTheServer

FetchKmlLocal is only designed to work with local kml files, not kmz files. 
This is clearly stated in the method description and nowhere does it indicate 
that it works with kmz.

/// <summary>
/// Loads a local kml file 
/// </summary>
/// <param name="path">path to a local kml file</param>
/// <example>GWEebBrower.FetchKml("C:\file.kml");</example>

FYI The issue with kmz is in implementing the decompression algorithms and how 
the reasources would be passed to the plugin.  Even if I did add these 
decompression algorithms the resources in the kmz (images, etc) would need to 
be passed over http...as such a local TCP server is the only way to achieve 
this...

Original comment by fraser.c...@gmail.com on 18 Sep 2011 at 4:40