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
265
Load a large amount of data
posted

I am developing an agricultural application using xammap. The problem is that have to load more than 17,000 polygons, mostly from a very small size. When loading the shape it shows only very few of them (the largest) and takes a long time to display and perform any task.
Is there any way to solve this? or is that the control is not designed to handle so much data?

Greetings from SLP, México

  • 3255
    posted

    Hi guillermodelatorre,

    Some of the elements might not be visible, because XamMap's Layers use a display resolution value to determine if a map element can be considered as visible or not. You can change this value by using the MapLayer.Resolution property. Showing 17,000 polygon would take indeed a lot of time to display and we are currenly working on optimizing XamMap. Can you split the shapefile in multiple shapefiles depending on object geometry size and load them from different layers with set VisibleFromScale and VisibleToScale.

    Regards,

    Ivan Kotev