Creating webmap labels with Python API

322
1
11-25-2020 08:17 AM
GrantHaynes
Occasional Contributor

Here's my problem I have a script that generates shapefiles, pushes them to AGOL, symbolizes them, and creates and adds them to a webmap. I need to be able to programmatically add labels to the new webmap, but I've been unable to find a clear answer on how to do it. The JSONs that provide the symbology to the feature service have "showLabels" set to true, but that doesn't work, I tried creating a fully symbolized and labeled map to generate a JSON and using that to update my maps, but that doesn't work, any help would be appreciated.

Tags (2)
0 Kudos
1 Reply
TylerGrosshuesch3
New Contributor II

Sorry that I won't be any help, but I'm struggling with the same thing.

Have you heard from Esri or been able to figure anything out?

0 Kudos