ThinkGeo.com    |     Documentation    |     Premium Support

Error in DrawStaticLayers in the MapEngine

I’m exporting google maps for offline use MapEngine, however when it arrives at function ‘mapEngine.DrawStaticLayers (bitmap, mapUnit)’, an error no browser ‘System.Net.WebException: The timeout of the operation has been reached’.

What may be causing this error, I took this example on the internet.

Hi Elton,

From this error we cannot make sure what’s the problem.

Because that only let us know your server side response so slow so timeout.

I think maybe you want to upload your sample for that with your test data, so we can double check whether your render logic have any problem.

For web edition, we suggest you choose GoogleMapsOverlay but not GoogleMapsLayer. Overlay will directly get image tile from Google’s server, the layer will get tile into your server side, then sent back to your client side.

Regards,

Don