Select to view content in your preferred language

MapImageLayer missing labels with rotated map

231
0
03-28-2023 04:18 PM
JoelBennett
MVP Regular Contributor

Immediately below is an image created by a dynamic map service whose features are labeled on the server side.  You can see that all the features are labeled (as they should be):

not_rotated.png

 

However, when I rotate the map (using MapView.rotation), here is the new image generated by the server:

rotated.png

 

You can see that numerous features to the right and left of center are not labeled, although they should be. I've noticed that the HTTP requests for both of these images have the same extent values (i.e. bbox), so this is likely driving the problem. It appears only the features inside that extent are labeled, but all the "extra" features that appear as a result of rotation are not.

If there a solution to this problem? Note that the solution must involve labeling on the server-side, not the client-side.

To generate these images, I was using ArcGIS Maps SDK for JavaScript 4.25 and ArcGIS Server 10.7.1.

0 Kudos
0 Replies