Can ArcGIS Online styles show polygons as marker points when zoomed out?
I have it working in Pro so that it has both the polygon and the point marker. So when you zoom in you see the polygon. But when I share as a web layer it dumbs down the symbology to just the polygon.
Solved! Go to Solution.
Are they in the same Symbol?
2 quick ways I think you could do this
Have the polygon layer with a marker layer with a centroid placement. The text in the point could be static or driven by an attribute connection. Then publish to Online making sure to keep the compatible symbol option unchecked.
Quick example
https://www.arcgis.com/apps/mapviewer/index.html?webmap=25c5785b63db4b809e43b8597509e365
Or publish the map with 2 layers. One with a centroid layer and another with a polygon footprint layer. Then set the scale ranges to how you would want them defined.
Are they in the same Symbol?
2 quick ways I think you could do this
Have the polygon layer with a marker layer with a centroid placement. The text in the point could be static or driven by an attribute connection. Then publish to Online making sure to keep the compatible symbol option unchecked.
Quick example
https://www.arcgis.com/apps/mapviewer/index.html?webmap=25c5785b63db4b809e43b8597509e365
Or publish the map with 2 layers. One with a centroid layer and another with a polygon footprint layer. Then set the scale ranges to how you would want them defined.
I will have to look for this compatable symbol option!
I just set this up in Pro because it was easier at the time.
The custom symbology arcade code is in the HFS and can be set up in map viewer directly. You just have to also create the appropriate symbol classes as well.
R_
Here is a HFS that has that ability in it.
I built it in Pro and published to AGOL (don't set the use symbol types compatible with all clients or it will break it).
This one is a little more in-depth than you are after as it changes from Point to Polygon not just on view scale, but also based on the area of the polygon as well, but could easily be modified.
R_