Hi,
I’m facing slow loading of my map data. After debugging I found that my code is entering OnInitialized method 3 times which restart the loading of my data 3 times.
Can you please help me with that?
Thanks
protected override System.Threading.Tasks.Task OnInitializedAsync()
{
osmLayers = new GeoCollection<LayerBase>();
editingLayers = new GeoCollection<LayerBase>();
highlightedFeaturesLayers = new GeoCollection<LayerBase>();
LoadLayers();
return base.OnInitializedAsync();
}