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

08-24-2020 01:26 PM
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
0 Replies