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
1215
Do not want to hide small map elements
posted

I've searched the forum posts with no luck, so here is my own post.

The map hides small polygons and shows them as the map is zoomed. How can I override this to always show all polygons?

Parents Reply
  • 138253
    Offline posted in reply to Mikael Ørseng

    Hello Mikael,

    It seems like that this is built - in functionality and it is made that way to optimize the performance of the XamMap. For example, if you have a World map, when it is not zoomed. it is not detailed and when you zoom it, the boundaries become more detailed with every zoom. I also attached two screenshots which demonstrates that very small elements are no rendered before you zoom. The solution for this is to add extra global layer which will be visible no matter how you zoom out and there won’t be gaps in the Map. Here you can see such example:

    http://samples.infragistics.com/sldv/RunSamples.aspx?cn=map#/map/map-layer-drilldown

    Also, every Layer has a VisibleFromScale Property, which determines when to render the layer. In the screenshots I removed the Global layer and set the second one VisibleFromScale to 0.

    Hope this helps you.

Children