# Drawn exceptions stay on the map

**URL:** <https://community.thinkgeo.com/t/drawn-exceptions-stay-on-the-map/12298>\
**Category:** WPF\
**Created:** [January 13, 2026, 11:42am UTC](https://community.thinkgeo.com/t/drawn-exceptions-stay-on-the-map/12298 "2026-01-13T11:42:45Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Simo\_Karjalainen](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/8491ac/32.png) [@Simo\_Karjalainen](https://community.thinkgeo.com/u/Simo_Karjalainen)\
**Post date:** [January 13, 2026, 11:42am UTC](https://community.thinkgeo.com/t/drawn-exceptions-stay-on-the-map/12298/1 "2026-01-13T11:42:45Z")

</div>

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:

 ![image](https://community.thinkgeo.com/uploads/default/original/3X/d/3/d3b0068a13cf6a062f655956826ac0fe524791f6.jpeg)

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).

 ![image](https://community.thinkgeo.com/uploads/default/original/3X/5/d/5d9e8ca45e4a521f5d059c5004c9d5c6ed4dd9b8.png)

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

---

<div class="post-metadata">

**Author:** ![Leo\_Liu](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/leo_liu/32/25689_2.png) [@Leo\_Liu](https://community.thinkgeo.com/u/Leo_Liu)\
**Post date:** [January 14, 2026, 9:47am UTC](https://community.thinkgeo.com/t/drawn-exceptions-stay-on-the-map/12298/2 "2026-01-14T09:47:41Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Simo\_Karjalainen](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/8491ac/32.png) [@Simo\_Karjalainen](https://community.thinkgeo.com/u/Simo_Karjalainen)\
**Post date:** [January 14, 2026, 10:42am UTC](https://community.thinkgeo.com/t/drawn-exceptions-stay-on-the-map/12298/3 "2026-01-14T10:42:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Leo\_Liu](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/leo_liu/32/25689_2.png) [@Leo\_Liu](https://community.thinkgeo.com/u/Leo_Liu)\
**Post date:** [January 15, 2026, 3:01pm UTC](https://community.thinkgeo.com/t/drawn-exceptions-stay-on-the-map/12298/4 "2026-01-15T15:01:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Simo\_Karjalainen](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/8491ac/32.png) [@Simo\_Karjalainen](https://community.thinkgeo.com/u/Simo_Karjalainen)\
**Post date:** [January 19, 2026, 4:32am UTC](https://community.thinkgeo.com/t/drawn-exceptions-stay-on-the-map/12298/5 "2026-01-19T04:32:10Z")

</div>

Hi,

Seems to be working with 14.5.0-beta066 and tile are loaded when map is panned (without need for panning to completely different area) after failure.

Is there someway to apply a workaround to make it work with 14.4.3 or is it possible to release a hotfix 14.4.4 with this fix ?

Br, Simo

---

<div class="post-metadata">

**Author:** ![Ben](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ben/32/25720_2.png) [@Ben](https://community.thinkgeo.com/u/Ben)\
**Post date:** [January 19, 2026, 7:41pm UTC](https://community.thinkgeo.com/t/drawn-exceptions-stay-on-the-map/12298/6 "2026-01-19T19:41:03Z")

</div>

OK, we’ve scheduled v14.4.4 hotfix by the end of this month. Let me know what more fixes you want us to include.

---

<div class="post-metadata">

**Author:** ![Simo\_Karjalainen](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/8491ac/32.png) [@Simo\_Karjalainen](https://community.thinkgeo.com/u/Simo_Karjalainen)\
**Post date:** [January 29, 2026, 9:06am UTC](https://community.thinkgeo.com/t/drawn-exceptions-stay-on-the-map/12298/7 "2026-01-29T09:06:25Z")

</div>

Hi,

Tested this with 14.4.4 and like in beta tiles are now re-loaded when map is panned after connection failure.

But I noticed still one minor issue related to this. Problem is that tiles are not stored to cache when they are re-loaded after failure.

Steps to re-produce:

1. Disconnect network
2. Pan map to see failed tiles
3. Connect network
4. Pan map a bit and tiles failed on step 2 are now re-loaded correctly
5. Disconnect network
6. Pan map a bit and tiles failed on step 2 are again shown as failed even those were visible on step 4  
=\> Tiles are not stored to cache on step 4 from some reason

If on step 4 map is e.g zoomed in/out those problematic tiles are stored to cache. Probably this is somehow related to fact that caching is done on overlay level and maybe those failed tiles are re-loaded on layer level ?

Br, Simo

---

<div class="post-metadata">

**Author:** ![Leo\_Liu](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/leo_liu/32/25689_2.png) [@Leo\_Liu](https://community.thinkgeo.com/u/Leo_Liu)\
**Post date:** [January 29, 2026, 2:26pm UTC](https://community.thinkgeo.com/t/drawn-exceptions-stay-on-the-map/12298/8 "2026-01-29T14:26:49Z")

</div>

hi @Simo_Karjalainen ,

Thanks for reporting this issue. I’ve fixed it already. Could you try ThinkGeo.UI.Wpf 14.5.0-beta076 when it’s available?

Regards,  
Leo

---

<div class="post-metadata">

**Author:** ![Simo\_Karjalainen](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/8491ac/32.png) [@Simo\_Karjalainen](https://community.thinkgeo.com/u/Simo_Karjalainen)\
**Post date:** [January 30, 2026, 4:49am UTC](https://community.thinkgeo.com/t/drawn-exceptions-stay-on-the-map/12298/9 "2026-01-30T04:49:14Z")

</div>

Hi,

Yes, now also cache is updated correctly with latest beta.

Is there some way to apply workaround on top of 14.4.4 to make this work also with that one ?

Br, Simo

---

<div class="post-metadata">

**Author:** ![Ben](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/ben/32/25720_2.png) [@Ben](https://community.thinkgeo.com/u/Ben)\
**Post date:** [January 30, 2026, 4:29pm UTC](https://community.thinkgeo.com/t/drawn-exceptions-stay-on-the-map/12298/10 "2026-01-30T16:29:44Z")

</div>

Added it to our 14.4.5 list. We can have it released by late February.

---

<div class="post-metadata">

**Author:** ![Leo\_Liu](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/leo_liu/32/25689_2.png) [@Leo\_Liu](https://community.thinkgeo.com/u/Leo_Liu)\
**Post date:** [February 2, 2026, 9:04am UTC](https://community.thinkgeo.com/t/drawn-exceptions-stay-on-the-map/12298/11 "2026-02-02T09:04:26Z")

</div>

hi @Simo_Karjalainen,

Yes, you could apply a workaround on top of 14.4.4.

Here’s the workaround:

1. Add 2 new classes: EnhancedLayerTileView and EnhancedLayerOverlay
2. Replace LayerOverlay with EnhancedLayerOverlay in your code

**EnhancedLayerTileView.cs**

```
public class EnhancedLayerTileView: LayerTileView
{
    public EnhancedLayerTileView(): this(new Collection<Layer>()) {}
    public EnhancedLayerTileView(IEnumerable<LayerBase> layers): base(layers) { }

    public void ClearError()
    {
        this.Error = null;
    }
}

```

**EnhancedLayerOverlay.cs**

```
public class EnhancedLayerOverlay: LayerOverlay
{
    protected override TileView GetTileCore()
    {
        return new EnhancedLayerTileView(Layers);
    } 

    protected override void OnDrawnTile(DrawnTileTileOverlayEventArgs args)
    {
        if (args.DrawnTile is EnhancedLayerTileView enhancedLayersTileView && enhancedLayersTileView.Error !=null) 
        {
            enhancedLayersTileView.ClearError();
        }
        base.OnDrawnTile(args);
    }
}

```

Regards,  
Leo

---

<div class="post-metadata">

**Author:** ![Simo\_Karjalainen](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/s/8491ac/32.png) [@Simo\_Karjalainen](https://community.thinkgeo.com/u/Simo_Karjalainen)\
**Post date:** [February 2, 2026, 9:20am UTC](https://community.thinkgeo.com/t/drawn-exceptions-stay-on-the-map/12298/12 "2026-02-02T09:20:55Z")

</div>

Hi,

Thanks for the workaround. Since 14.4.5 will be released so soon I think that we can wait for that and use 14.4.4 while waiting for 14.4.5. But anyway it’s good to know that workaround exist if this cache related bug causes some major issue on our side.

Br, Simo

---

<div class="post-metadata">

**Author:** ![Leo\_Liu](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/leo_liu/32/25689_2.png) [@Leo\_Liu](https://community.thinkgeo.com/u/Leo_Liu)\
**Post date:** [February 2, 2026, 1:17pm UTC](https://community.thinkgeo.com/t/drawn-exceptions-stay-on-the-map/12298/13 "2026-02-02T13:17:43Z")

</div>

Hi,

Great. Let me know if you have other questions. 🙂

Regards,  
Leo
