"Export map" web request does not honor visible layers
Hi,
I am using workflow 5 to export a map image via the Export map from the REST-endpoint of essentials.
First, I get all currently vivible layers from the map.
I am creating a string that looks like this example: 1(show:0,1,2);2(show:4,5,6)
This string is included in the json for the webrequest that is posted to export map like this:
"layers": 1(show:0,1,2);2(show:4,5,6) (in the workflow this string is replaced by the variable that contains the layers)
However, some layers are always appearing in the export regardless of the visibility actually beeing false (no visible layers).
I have made sure no layers are turned on in the Map Services part of the site..
If turn on additional layers, these appear in the export when i use the method for getting visible layers. If i remove the "layers" part from the json, the same layers that always appear in the exports show up, but other visible layers dont.
Any ideas here? The workflow is attached just in case 😃
PS: I see this beahvior for different sites with different services..
@Patrick Fingler? - I have seen the techtip you made, but I cannot seem to get around this issue..
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
0 Kommentare