ThinkGeo.com    |     Documentation    |     Premium Support

What does Layer.RequestDrawing() do?

As the title says, I was wondering what Layer.RequestDrawing() does? I was playing with it and noticed it redraws the layer, but does it also call refresh on the Overlay somewhere in the function? I’m just wondering if this is a hacky way to refresh only a single layer instead of an entire Overlay.

Thanks

Hi Dan,

RequestDrawing don’t works for your scenario, it’s related with the event RequestedDrawing.

In WPF, if a layer is visible, it always get refreshed follow its container(overlay).

So if you want to refresh different layer, you should want to put them into separated overlay.

Regards,

Ethan