ThinkGeo.com    |     Documentation    |     Premium Support

Overriding EditInteractiveOverlay

Hi,

In versions 9 and 10, I used this code from the samples documentation to override the EditInteractiveOverlay in order to have a snapping points layer

However, this seems to have been changed and the Draw override signature is different and it’s not clear to me how to access the canvas anymore. How can I do this?

Where can I find all the version 9 and 10 samples built for version 12?

Thanks,
Damian

Thanks Damian,
You can override DrawTileCore. I created a V12 demo for you. SnapToLayerSample-ForWpf12.zip (10.3 KB)

We have the “how do I” for the mapsuite wpf 12.0 https://github.com/ThinkGeo/HowDoISample-ForWpf

for the winform edition v12. We we will re-use the one in the wpf. You can find out how to use the wpf v12 in the winform application here.

Thanks

Frank

Thanks again Frank. Killed two issues for me. I also did not know ExtentHelper is renamed to MapUtil.

Regards,
Damian

Thanks Damian,
I am going to close this one. Go ahead let us know if you have any more question about upgrade to V12.

Thanks

Frank