Welcome to the .NET MAUI feedback portal. We’re happy you’re here! If you have feedback on how to improve the .NET MAUI, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
When trying to Load a json file using
layer.ShapesSource = MapSource.FromFile(@"D:\world-map.json");
Nothing is rendered
if how ever i use
StreamReader fs = new StreamReader(@"D:\world-map.json");
layer.ShapesSource = MapSource.FromStream(fs.BaseStream);
this works fine.
I did notice the example
https://help.syncfusion.com/cr/maui/Syncfusion.Maui.Maps.MapSource.html#Syncfusion_Maui_Maps_MapSource_FromFile_System_String_
Loads a .shp file so i am not sure if format of file must be .SHP