ThinkGeo team,
I have two maps which render same shapes layers.
Is there way to share overlay with all the shape layers between two MapView?
Thanks
Share Overlay between two MapView
Thanks Slava,
You can not share the overlay. It will threw an error.
System.InvalidOperationException: ‘Specified element is already the logical child of another element. Disconnect it first.’
But you can share the layers. That mean you have to create a new overlay and add the existing layers to the overlay.
Thanks
Frank
Thanks Frank,
How can I find out inside the DrawCore method in the shared layer, which MapView is currently processing
Thanks, Slava
Thanks Slava,
The drawcore method only have the GeoCanvas from outside. It won’t know which map view is currently processing.You may need a separate layer to do that instead of share layer.
Thanks
Frank