Select to view content in your preferred language

Adjust point symbol scaling (API 4.x)

779
3
Jump to solution
02-08-2022 01:25 AM
ZA1
by
New Contributor III

Hi,

How can I control the scaling of a point symbol from a feature layer? 

This is what I'd like to achieve: 

ZA1_0-1644311919109.png

 

Notice: The scale of the point stays constant within a certain range of zoom. By default, the point will scale with every zoom level 

 

I'll appreciate any help 🙂 

Thanks!

0 Kudos
1 Solution

Accepted Solutions
JohnGrayson
Esri Regular Contributor

Maybe try the Size VisualVariable to accomplish this: ScaleDependentIcons

View solution in original post

3 Replies
JohnGrayson
Esri Regular Contributor

Maybe try the Size VisualVariable to accomplish this: ScaleDependentIcons

KristianEkenes
Esri Regular Contributor

Yep. +1 to John's suggestion. I wrote about this in some detail here: https://www.esri.com/arcgis-blog/products/js-api-arcgis/mapping/how-and-why-to-adjust-size-by-scale-...

ZA1
by
New Contributor III

@JohnGrayson @KristianEkenes thanks for the responses, appreciated 🙂 I'll look into it 

0 Kudos