Has anyone using ArcGIS Server map services in webmaps had success controling labels in the webmap?
In short, the ArcGIS Runtime MapView seems to completely ignore label properties specified in the webmap and only respect those of map service. If there's a solution that I'm overlooking please let me know.
Thanks,
Matt
Just noticed the WebMap labels are ignored. Seems a pretty big deficiency to me. It gives you no way to have different label configurations if they need to be done at the service level
Hi Matt,
Webmap labels are supported - we'll need to investigate why they are not working in this scenario.
Is your webmap public, or can you share the JSON of the webmap?
You can switch off labels in a map image layer by iterating the sub layers and setting the property ArcGISMapImageSublayer.LabelsEnabled Property.
Cheers
Mike
The behavior as described is exactly what I see. I had a WebMap with labeling defined in the WebMap but not on the service. When I load the WebMap in Runtime (100.4) no labels appear. I just went back and added labels into the Map in Pro and republished the service, the labels now show-up. Even if the labels are turned off in the WebMap it honors the labeling defined on the service.
Thanks
-Joe