polygon as a point

219
4
Jump to solution
04-17-2024 08:09 AM
CarsonMorton
New Contributor III

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.

CarsonMorton_0-1713365775830.png CarsonMorton_1-1713365813632.png

 

0 Kudos
1 Solution

Accepted Solutions
RussRoberts
Esri Notable Contributor

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.

RussRoberts_0-1713368180789.png

 

Quick example

https://www.arcgis.com/apps/mapviewer/index.html?webmap=25c5785b63db4b809e43b8597509e365

RussRoberts_1-1713368275145.png

RussRoberts_2-1713368305945.png

 

 

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. 

View solution in original post

4 Replies
RussRoberts
Esri Notable Contributor

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.

RussRoberts_0-1713368180789.png

 

Quick example

https://www.arcgis.com/apps/mapviewer/index.html?webmap=25c5785b63db4b809e43b8597509e365

RussRoberts_1-1713368275145.png

RussRoberts_2-1713368305945.png

 

 

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. 

CarsonMorton
New Contributor III

I will have to look for this compatable symbol option!

0 Kudos
RhettZufelt
MVP Frequent Contributor

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_

0 Kudos
RhettZufelt
MVP Frequent Contributor

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_