Map doesn't appear

Hello,

I'm trying to load the attached shape file to sfMaps but nothing is displayed.

Added files to each platform project and I'm trying to display the shape file gadm36_IRL_0.shp.

If the problem is the shape file, could you direct me to a good resource?

Best regards


Attachment: gadm36_IRL_shp_749243f5.zip

3 Replies

HM Hemalatha Marikumar Syncfusion Team March 4, 2020 10:09 AM UTC

Hi Paulo, 
 
Greetings from Syncfusion. 
 
We checked the reported issue with our UG getting started sample along with the shape files you provided, and it worked fine. We suspected that you might not have proper build option for used shape files as like in below  
 
Project 
Build option 
Android 
Android Asset 
iOS 
Bundle Resource 
UWP 
Embedded Resource 
 
 
To renderer the Maps, shp and dbf files are alone needed as per in below screenshot and find the modified sample in below 
 
 
 
 
Please let us know if you need any further assistance. 
 
Regards, 
Hemalatha M. 
 
 



PA paulo March 9, 2020 07:29 AM UTC

Hello, it worked, thank you.

However I noticed my screen gets frozen for about 1 sec until the map is loaded. Would you have any 'good practices' instructions to work with sfMap?
Also, sfMap could load the file async way and expose a property 'IsBusy' so we could create a better user experience...

I will try some workarounds here to minimize impact of this frozen loading second. But any help from you is very welcome.



RS Ramya Soundar Rajan Syncfusion Team March 10, 2020 06:09 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 


Loader.
Up arrow icon