I Try to use a layer from a WMS service in my app.
But I can't figure out how to filter the layers in the WMS service.
Even if I use the LAYER=<layername> parameter in the url, then will all layers still be showed.
here is my code <-
Map {
id: map
anchors {
left: parent.left
right: parent.right
top: titleRect.bottom
bottom: parent.bottom
}
wrapAroundEnabled: true
rotationByPinchingEnabled: true
magnifierOnPressAndHoldEnabled: true
mapPanningByMagnifierEnabled: true
zoomByPinchingEnabled: true
positionDisplay {
positionSource: PositionSource {
}
}
ArcGISTiledMapServiceLayer {
url: app.info.propertyValue("basemapServiceUrl", "http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer")
}
WmsDynamicMapServiceLayer{
id:matrikel
visible: true
}
NorthArrow {
anchors {
right: parent.right
top: parent.top
margins: 10
}
visible: map.mapRotation != 0
}
onStatusChanged: {
if(status == Enums.MapStatusReady) {
console.log("Map Ready!!");
map.addLayer(matrikel)
}
}
ZoomButtons {
anchors {
right: parent.right
verticalCenter: parent.verticalCenter
margins: 10
}
}
}
-->
Request in fiddler
Solved! Go to Solution.
The Runtime's support for WMS layers at this release is very limited, and was initially included so that web maps that contained WMS layers could at least display them. Unfortunately, the class is not fully functional yet, but we do plan on having much better WMS support in Quartz.
-Luke
The Runtime's support for WMS layers at this release is very limited, and was initially included so that web maps that contained WMS layers could at least display them. Unfortunately, the class is not fully functional yet, but we do plan on having much better WMS support in Quartz.
-Luke
Will Quartz be a part of App Studio?
It will be a part of AppStudio. After the Quartz release of the ArcGIS Runtime SDK for Qt.