laptop and a wrench

Bug

Unable to view the correct label values in Map Viewer at different zoom scale when using an Arcade expression for Labels.

ArcGIS Online
Bug ID Number BUG-000159982
SubmittedJuly 19, 2023
Last ModifiedOctober 7, 2024
Applies toArcGIS Online
Version foundJune 2023
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusKnown Limit

Additional Information

The feature geometries in the visualization and labeling profiles are generalized according to the view's scale resolution to improve drawing performance. Therefore, using a feature's geometry ($feature) as input to any geometry function in these contexts will return different results at each scale level. Other profiles, such as pop-up, provide the full resolution geometry. The projection of the web map (Web Mercator) will also distort results given in area and/or distance calculations. WGS 1984 Web Mercator and WGS 1984 Web Mercator (auxiliary sphere) use a conformal projection that preserves direction and the shape of data but distorts the distance and area.

Workaround

Some users may benefit from the Arcade's AreaGeodetic function since the map projection is Web Mercator. Use the pop-up profile to calculate the area and then use that attribute expression to label features to have access to the full-resolution geometry when calculating the area.

Steps to Reproduce

Bug ID: BUG-000159982

Software:

  • ArcGIS Online

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options