Support Reference Scale based rendering for GraphicsLayer

483
0
03-23-2023 07:26 AM
Status: Open
SebastianFrey1
New Contributor II

Enhancement feature

Reference Scale based scaling of Graphics in a GraphicsLayer.

Enhancement category

GraphicsLayer

Enhancement short summary

Add support for Reference Scale based drawing for GraphicsLayer like in ArcGIS Pro.

Enhancement description

Excerpt from the ArcGIS-Pro documentation, which describes the feature:

Define the Reference Scale value to determine at which scale the graphics layer appears at the intended size. When this property is set, changes in scale result in graphic elements changing size relative to surrounding features. You can also set a custom scale, or choose <None> to stop applying a reference scale.

It would be nice to have the option in 4.x to set a reference scale as follows:

const graphicsLayer = new GraphicsLayer({
  referenceScale: 2500,
});