I found that in the Map Viewer the labels of some polygons are not positioned correctly, in fact they are outside the polygon. Instead, if we use the Map Viewer Classic the labels are positioned correctly.
I attach the zip relating to the polygonal shp that have this problem.
Has anyone else encountered this? Does anyone have any suggestions?
Thank you.
Solved! Go to Solution.
This is a known limitation in 4.x JSAPI. Its planned to support centroid position early next year.
This is a known limitation in 4.x JSAPI. Its planned to support centroid position early next year.
Thanks for the reply, we hope that the change will take place as soon as possible. Thanks again, I take this opportunity to wish the whole community a happy and peaceful Christmas, a splendid 2023.
Dear Russell,
i wanted to ask you when the problem in Map Viewer related to the positioning of the labels
inside the polygon will be solved. I need to plan the delivery of a project with Experience
Builder where some polygons have this problem with the labels.
Thank you, a cordial greeting.
Rodolfo
There is still an API limitation on the label placement at the centroid of the polygon vs. inside. This will be seen across Map Viewer and Experience Builder.
Thanks for the reply, you don't have an indication when this issue will be fixed.
Thank you,
Best regards.
Rodolfo
Dear Russell, I have to develop a WebGIS service by the end of May. I wanted to ask if by that date the problem related to the positioning of the labels inside the polygon will be solved. let me know, if the problem is not resolved by the end of May I have to use Web AppBuilder instead of the Experience Builder. I ask you for a further courtesy as soon as the problem is solved you can let me know either here or directly to my email: fabianir@hotmail.com
Thank you,
Best regards
Rodolfo
It wont be resolved by May. It is assigned to the release we have set around the UC but cannot guarantee it will make it,
Having the same issue.
Map Viewer, only a single feature N-APP-2 labeled, appears outside of polygon. Why are none of the other features labeled?
Map viewer classic, more features labeled, labels are on the polygon they represent
We are working on the centroid labeling. If you can share the web map I can compare the results.