Expor WebMap Json syntax

180
0
03-13-2024 02:51 AM
Labels (2)
vais
by
New Contributor

Hello,

i'm using the Export WebMap Json Syntax : https://enterprise.arcgis.com/en/server/10.9.1/publish-services/linux/exportwebmap-specification.htm  to generate a PDF from Map Maservice.

I have a JSON like this:

{"mapOptions": {"extent": {"xmin":679108.15204999968,"ymin":5151233.0362899993,"xmax":679119.88795000035,"ymax":5151242.37771,"spatialReference":{"wkid":32632}}}, "operationalLayers": [{"url": "https://server_name", "title": "<title layer>", "opacity": 1, "gdbVersion": "<version name>", "visibleLayers": [1], "layers": [{"id": 1, "title": "<title layer>", "layerDefinition": {"definitionExpression": "", "gdbVersion": "<version name>"}}]}, {"url": "https://server_name", "title": "<title layer>", "opacity": 1, "gdbVersion": "<version name>", "visibleLayers": [2], "layers": [{"id": 2, "title": "<title layer>", "layerDefinition": {"definitionExpression": "", "gdbVersion": "gdbVersion": "<version name>""}}]}]}

and works fine.

The Map Service used into JSON have the label on at all scale....i would like to set a scaleLabel sizing like scaleSymbol, but i don't see this tag into JSON syntax. There is a way to  do this.....i have seen that the last version ArcGIS Pro (3.1) have this function, but i ' m working with 2.9.6. There is a way with json syntax to define a scaleLabel size or a min scale from label? I have seen that the syntax showed into previous link not works. Any help o suggest?

Tags (1)
0 Kudos
0 Replies