Re-size symbology by View Scale

1364
11
08-19-2021 07:51 AM
KamillePreto
Occasional Contributor II

I am trying to create a custom expression on a feature so that it will re-size the symbology as I zoom in and out. Like this example ESRI Blog - https://www.esri.com/arcgis-blog/products/js-api-arcgis/mapping/how-and-why-to-adjust-size-by-scale-...

However, everything I try, I keep getting errors.

I've also read this blog as well, but the steps are too complex for what I need to accomplish, as I don't have a layer I need to symbolize by attribute. - https://community.esri.com/t5/arcgis-living-atlas-blog/automatically-resize-symbols-by-map-scale-in/...

This is where I left off, basing off of the blogs:

Scale.JPG

I just have a simple layer for Manhole locations.

Manholes.JPG

This layer is a part of a Web Application for our Asset Management database (bridges, dams, outfalls, signals, inlets, pavement, etc). So there will be a lot of layers involved. I made a custom symbol for the Manholes & Inlets, and you cannot see the detail when the symbols are a smaller size.

Can anyone help let me know how to fix my expression? I will need to do this will all of the layers involved.

The scales listed in the expression were from one of the blogs, I did not set them myself.

Thank you! 

0 Kudos
11 Replies
KamillePreto
Occasional Contributor II

Hi Josh,

Yes, I am very familiar with the Options button. When I selected it the first time, that sliding bar with the min/max was not there. Now after re-entering the expression again, it is. But I still do not think it is correct. When I zoom in the points get smaller. When I zoom out, they get larger. I wanted that flipped. So I went back into the expression and switched the numbers from top to bottom and it is still doing the same thing. So I changed the slider (min/max) and that does work. But I just don't understand what the legend is referring to. What are the numbers? - If they are the second numbers in my expression (25, 20, 15, 8), those were just random symbol sizes I assigned to the zoom levels. Not attributes.

symbology.JPG

0 Kudos
Jim_Herries_UOdocent
New Contributor

Check out this blog. https://www.esri.com/arcgis-blog/products/arcgis-living-atlas/mapping/updated-arcade-scaling-symbolo... to see how one approach works to give your explicit size control by scale. 

0 Kudos