Select to view content in your preferred language

Hiding Labels Within Extent Indicator on ArcGIS pro

1905
4
07-11-2024 05:43 AM
Labels (1)
VassilisTrigkas1974
Occasional Contributor

Hello,

I have a map with an extent indicator and a frame to show an area at a larger scale. Is there a way to hide the labels only for the points that are within the extent indicator?

0 Kudos
4 Replies
Robert_LeClair
Esri Esteemed Contributor

One idea is to create a new attribute in the layer called Extent_Indicator.  Then calculate it 'yes' or 'no'.  From there use Definition Query on the layer to only draw those points that have a value of 'yes'.  Then label those items.

0 Kudos
VassilisTrigkas1974
Occasional Contributor

I don't want to hide the points, but only the labels of the specific points. An idea very close to yours is to hide some labels with Arcade (No/Yes).

Robert_LeClair
Esri Esteemed Contributor

True - you could use the Labeling tab->Label Class group and create an expression for a label class where 'inset = 'yes' or something similar.

0 Kudos
KearyLarson2
New Contributor

Just checking to see if there are any other more elegant solutions since this was discussed. I have been looking at the interface and don't see any other settings or properties that would prevent labels in the extent window from displaying.  To 'solve' this we created additional map frames and drew them on top of the main map frame in the layout and sent the extent such that the layers line up.  In the additional map frames, we do not have labels turned on so only the features are visible in the extent windows.

0 Kudos