ThinkGeo.com    |     Documentation    |     Premium Support

How Do I Samples Error msg?

Hi,


When I run the "How Do I Samples" I get this erro message as in the attached image , Why?



Regards,


Bandar



 


BANDAR,
 
I think the reason is that your sample is running at offline environment or your Internet is not stable that can not connect our remote server.
 
You can set the property DrawingExceptionMode of WorldMapKitWmsDesktopOverlay to DrawException instead of ThrowException which is default;
            WorldMapKitWmsDesktopOverlay worldMapKitDesktopOverlay = new WorldMapKitWmsDesktopOverlay();
            worldMapKitDesktopOverlay.DrawingExceptionMode = DrawingExceptionMode.DrawException;
            winformsMap1.Overlays.Add(worldMapKitDesktopOverlay);
 
The detail information you can see
gis.thinkgeo.com/Support/Dis...fault.aspx
gis.thinkgeo.com/Support/Dis...fault.aspx
 
Thanks
 
James