I am still trying to get our aerial photo to work. The GIS dept has said that they cannot make it a cached Map with tiles as it requires too much storage space. They have created a WMS that I can access with the following URL:
In my app, I have the following
Dim objWmsLayer As New mapwingis.WmsLayer
Dim objExtents As New mapwingis.extents
’ Had to use EPSG:0 as it would not go to the correct place on the Map if I did not - units for the Map are X/Y Coords
objExtents.SetBounds -30.268996, 30.392826, 0, -29.499835, 31.187492, 0
.BaseUrl = “http://gis.durban.gov.za/arcgis/services/WebViewers/MRF2019/ImageServer/WMSServer”
.BoundingBox = objExtents
.DoCaching = False
.Epsg = 4326
.Format = “image/png”
.Layers = 0
.UseCache = False
'.Opacity = 63
'.TransparentColor = 255
'.UseTransparentColor = True
.Version = tkWmsVersion.wv13
intLayerHandle = Me.Map1.AddLayer(objWmsLayer, True)
Me.Map1.LayerVisible intLayerHandle, True
Set Me.Map1.extents = objExtents
Whatever I do this always just shows blank white - I saw someone said they had to move the X/Y coords around but it seems this is not so for version 1.3, but I did it anyway just to see and still no aerial photo.
Can anyone point me in the right direction as I am going around in circles.
Also, I am wondering will the zooming in be handled by the Map Service .