Hi,
After updating to last version I have a problem in my 2023 blazor projects.
Some class are deprecated (ex : OpenStreetMapLayer >> OpenStreetMapAsyncLayer) and I don’t find any solution to use them.
For example, I have this code :
OpenStreetMapLayer layer = new OpenStreetMapLayer();
layer.SendingHttpRequest += Osm_SendingWebRequest;
layer.CustomServerUris.Add(new Uri("https://tile.openstreetmap.org/{0}/{1}/{2}.png"));
osmLayers.Add(layer);
I changed it to OpenStreetMapAsyncLayer but after that it wasn’t compatible with osmLayers cause it’s a GeoCollection of Layer.
If I change the list to GeoCollection of AsyncLayer, then I have another problem in my html code cause AsyncLayer can’t be cast to Layer.
<LayerOverlay Id="OSMLayerOverlay"
MaxExtent="@(new RectangleShape(-20037508, 20037508, 20037508, -20037508))"
Layers="@osmLayers" IsVisible=false>
Everything was working before I updated to the last version
Can you please help me???
Thanks