Why do labels above the street line not work when the map is opened in JavaScript?

556
1
08-24-2020 01:26 PM
JoshFields
New Contributor II

In ArcGis Online, the map looks correct, with the labels above the streets.

When I open the same map in JavaScript, it puts the label on top of the street line and gives this error:

"Found invalid label placement type above-along for esriGeometryPolyline. Defaulting to center-along".

I am not doing anything in JavaScript with the label placement, I am simply opening the map that was created in ArcGis Online.

0 Kudos
1 Reply
DanielWebb
Occasional Contributor

Was this ever resolved? I am getting similar behavior on a map service layer with portal 10.9.1 and JavaScript 4.26.

0 Kudos