Labels are not showing up on my community facilities layer. I published from ArcPro with labels no luck. I then removed all label configuration from ArcPro and published no labels at all and then tried to turn them on in AGOL and that didn't work either.
When I enable labels on other layers in the map, they work. This leads me to believe that there is something up with the community facility layer.
data is there...
Solved! Go to Solution.
So - I'll convert my multipoint feature to point features and label.
Can you share the map published from Pro that is showing the issue?
https://garver.maps.arcgis.com/apps/mapviewer/index.html?webmap=765a3aadfaae4f4cb1174ad2e3e51dd0
I'll share it for the day
Looks like those are multipoint and we have an open issue with labeling in the JSAPI to support this. The support ticket to support labels on multipoint is: BUG-0001375864
The error for the labeling was in the browser dev console: "Unable to create labels for layer, geometry type 'esriGeometryMultipoint' is not supported"
I'll create a ticket to hide labeling component in MV to reduce confusion there until multipoint support is added at the API level.
Hi, I can't any reference to this bug (BUG-0001375864) in the support pages, but yet it still seems labeling multipoint geometries in AGOL Map Viewer does not work - what is the status of this issue, is it a bug being addressed, or is it a known limitation with no plans to fix it? Thanks.
known limit right now, we are waiting on API support which is logged under BUG-000137586
So - I'll convert my multipoint feature to point features and label.
I have a similar issue - when creating a web layer from a feature class and the labels are not displaying in AGOL Map Scene. Only able to label with the Object_ID field.
Thanks for your help
I am also experiencing published feature layers not showing labels, but my situation is slightly different.
Please see the following:
Labels do not appear when viewed in Map Viewer from FeatureServer (see attached)
[{"labelPlacement":"esriServerPolygonPlacementAlwaysHorizontal","labelExpression":"","labelExpressionInfo":{"value":""},"useCodedValues":true,"symbol":{"type":"esriTS","color":[0,0,0,255],"backgroundColor":null,"borderLineColor":null,"verticalAlignment":"bottom","horizontalAlignment":"left","rightToLeft":false,"angle":0,"xoffset":0,"yoffset":0,"font":{"family":"Times New Roman","size":8,"style":"normal","weight":"bold","decoration":"none"}},"minScale":12983.3348645505,"maxScale":0}]}
However, when viewed in AGOL, the labels are showing as expected (see attached)
This is affecting a third party application map
The labelinginfo is empty
"labelExpression": "",
"labelExpressionInfo": {
"value": ""
},
and not pointing to to what the screenshot for the working case would be the expressioninfo pointing to a field or another expression like "$feature["GIS_COMMERCIALTABLE_CLASSIFICAT"]"