ThinkGeo.com    |     Documentation    |     Premium Support

Drawn exceptions stay on the map

Hi,

We noticed that if there’s no connection to online service and map is panned exception is drawn correctly as expected. When connection is restored and map is panned those exception are still seen. It will result this kind of view:

Also sometimes it looks like that layer is drawn top of exception when connection is restored and map is panned. (In this case exception was first drawn by OgcApiFeatureLayer and after connection was restored those black lines were drawn top of exception when panning).

Question is that is there something what could by done to re-draw those tiles with exception when connection is restored ? Also why in the second picture exception is still seen although layer is re-drawn after connection is restored ?

BTW, it seems if zoom level is changed those exception will be removed but you need to wait until new zoom level is fully drawn. But if you e.g quickly zoom in/out exceptions are still seen.

Br, Simo

hi Simo,

These error tiles are marked as drawn_completed, so they will not be updated when panning within the current map extent. To force a refresh, you need to pan the map to a completely different area and then pan back to the original location.

We could also make the error tiles look better by the following code, the error tiles will be blank.

arcgisLayer.DrawingExceptionMode = DrawingExceptionMode.ThrowException;
layerOverlay.ThrowingException += (s, e) =>
{
    e.Handled = true;
};

Regards,
Leo

Hi,

But would it be possible to not mark error tiles as drawn_completed so that those would be redrawn without need for panning to completely different area ?

Br, Simo

Hi @Simo_Karjalainen,

Yes, I’ve implemented this feature. Could you please upgrade to ThinkGeo.UI.Wpf 14.5.0-beta066(or newer) and give it a try?

Regards,
Leo