Quantcast
Channel: Telerik Forums RSS
Viewing all articles
Browse latest Browse all 94857

ShapeFile taking too long to load

$
0
0
[quote]Martin said:
  1. When the request is made, does it send request for items only of the visible part of map (i.e region) , or whole map.I'm afraid in my case its sending request for all shapefiles.
    Requests are made for every cell which intersects with the current viewport. Cell's size and positions are calculated when the zoom level grid is created. When the OnMapItemRequests() is called the shapes that are read from your shape files and are located in the current cell, will be added to the layer. However, you can control this process with implementing custom map virtualization source in which you can filter the shapes before add them to the layer.
  2. [/quote]

Hello,

this thread was also very helpfull for me. However I have a question regarding the demo. In the stores demo, the DataServiceGetStoresCompleted() method explicitly filters for items that are in the cell. Is this required, because from your answer it seems that the shapes are filtered automatically ? Why should I filter it then ?

 


Viewing all articles
Browse latest Browse all 94857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>