Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
420
SurfaceElement Won't Extend Off the Edge of the Map
posted

I've added a SurfaceElement to a xamMap. the SurfaceElement is the border of a city, so I've set the fill to null and the stroke to red, so that it looks like a border. The only problem is that the border won't go off the edge of the map. Instead, it wraps around the edge of the map.

For example if I zoom into the middle of the map I will see a red line around all four sides of the map. So something is being shown that doesn't actually exist. Is there any way to get around this? This seems to happen with any SurfaceElement.