Hi @Damian_Hite,
There’s something wrong with GetBoundingBox method of WmsAsyncLayer, but we could give a hard-coded bounding box to get it working. You’re able to find the layer’s corresponding bounding box in WMS_Capabilities
Here’s the code snippet:
WmsAsyncLayer layer = new WmsAsyncLayer(new Uri("https://factmaps.sodir.no/arcgis/services/FactMaps_ogc/3_0_ED50_z32/MapServer/WMSServer"));
await layer.OpenAsync();
var layers = layer.GetServerLayers();
layer.ActiveLayerNames.Add(layers[0].Name);
layer.ActiveStyleNames.Add("");
LayerOverlay overlay = new LayerOverlay();
overlay.Layers.Add(layer);
map.Overlays.Add(overlay);
map.CurrentExtent = new RectangleShape(-15.593882, 78.682921, 43.210634, 55.472608);
await map.RefreshAsync();
I’ve fixed the GetBoundingBox issue, you could call it to get the correct boundingbox once ThinkGeo.Core 14.3.0-beta034 is available.
Regards,
Leo