Page freezes while loading the map

Hello,

I noticed my screen gets frozen for about 1 or more seconds until the map is loaded. My shape file is 2.65MB. 
Would you have any 'good practices', instructions to work with sfMap or even a shape file specification for better performance?

Also, sfMap could load the file in async way and expose a property 'IsBusy' so we could create a better user experience...

3 Replies

RS Ramya Soundar Rajan Syncfusion Team March 10, 2020 06:10 PM UTC

Hi Paulo, 
 
We have analyzed the reported query and finding any other possibility to achieve your requirement. But no possibility, by setting any busyness loaded view on the maps and notify its indication until loading of provided shape files using SfBusyIndicator and its IsBusy property. 
 
Regards, 
Ramya S 



PA paulo March 10, 2020 10:55 PM UTC

I found a solution and would be very worthy to update your documentation to mention this:

shapefiles (.shp) can be optimized using the following website: https://mapshaper.org/
My file was 2.65MB and now is 127Kb. 
With this file size sfMap is perfect,  no delays.


SJ Suyamburaja Jayakumar Syncfusion Team March 11, 2020 05:46 AM UTC

Hi paulo,  
  
We are glad to hear that your requirement has been achieved.  
  
Please let us know if you need any further assistance on this.  
  
Regards,  
Suyamburaja J. 


Loader.
Up arrow icon