An ArcGIS Pro add-in for recording which areas of a map have been viewed while navigating.
Viewed Area Tracker listens for changes to the active map view and records the visible map extent as a polygon. A user-selectable maximum scale controls when areas are recorded.
Developed at the University of Gothenburg.
- Download
ViewedAreaTracker.esriAddInX, double-click it, and install the add-in. - (!) Your map must contain a polygon shapefile named exactly
Viewed_Areas.shp(layer name:Viewed_Areas), or the tracker will not work. - Choose a scale → Start Tracking → explore your map → Stop Tracking.
- Start and stop tracking from the ArcGIS Pro Add-In tab
- Records the visible map extent while navigating
- Stores each viewed extent as a polygon
- Records:
- viewing time
- map scale
- User-selectable maximum recording scale
- Supports scales from 1:1,000 to 1:10,000,000
- Includes an All scales option
The Maximum Scale control determines when viewed areas are recorded.
For example:
1:50,000records views at 1:50,000 and closer1:500,000records views at 1:500,000 and closer1:2,000,000records views at 1:2,000,000 and closerAll scalesrecords regardless of scale
Available options include:
- All scales
- 1:1,000
- 1:2,000
- 1:5,000
- 1:10,000
- 1:20,000
- 1:50,000
- 1:70,000
- 1:100,000
- 1:200,000
- 1:300,000
- 1:400,000
- 1:500,000
- 1:750,000
- 1:1,000,000
- 1:1,500,000
- 1:2,000,000
- 1:3,000,000
- 1:5,000,000
- 1:10,000,000
- ArcGIS Pro 3.7
- Windows
- A polygon feature layer named:
Viewed_Areas
The layer must contain the fields used by the tracker:
| Field | Description |
|---|---|
ViewedTime |
Date and time at which the extent was recorded |
Scale |
Map scale at which the extent was viewed |
The .esriAddInX file is the only file you need to install the add-in.
Download:
ViewedAreaTracker.esriAddInX
Then:
Double-click it → Install Add-In → open/restart ArcGIS Pro.
The Viewed Area Tracker controls will appear under the Add-In tab.
- Open an ArcGIS Pro project.
- Add a polygon feature layer named
Viewed_Areas. - Make sure it contains the
ViewedTimeandScalefields. - Open the Add-In tab.
- Select the desired Maximum Scale.
- Click Start Tracking.
- Pan and zoom around the map.
- Click Stop Tracking when finished.
The viewed map extents will be stored as polygons in Viewed_Areas.
When tracking is enabled, the add-in listens for changes to the ArcGIS Pro map camera.
For each map-view change:
- The current map scale is read.
- The scale is compared with the selected maximum scale.
- If the scale is within the selected range, the current map extent is retrieved.
- The extent is converted to a polygon.
- A new feature is created in
Viewed_Areas. - The current time and map scale are stored with the feature.
Conceptually:
Pan / Zoom
|
v
Camera Changed
|
v
Check Maximum Scale
|
v
Get Visible Extent
|
v
Create Polygon
|
v
Viewed_Areas
Each recorded feature represents one viewed map extent.
The tracker writes:
- Polygon geometry
ViewedTimeScale
This makes it possible to visualize where a map has been inspected and at what scale.
Viewed Area Tracker is written in C# using the ArcGIS Pro SDK for .NET.
Development requirements:
- Visual Studio
- .NET 10 SDK
- ArcGIS Pro 3.7
- ArcGIS Pro SDK for .NET
Clone the repository and open the Visual Studio solution.
For development/debugging:
F5
will build the add-in and launch ArcGIS Pro.
For distribution, switch Visual Studio from Debug to Release and rebuild the solution.
The generated:
ViewedAreaTracker.esriAddInX
can then be distributed to other ArcGIS Pro users.
ViewedAreaTracker/
|
|-- Config.daml
|-- Module1.cs
|-- ScaleComboBox.cs
|-- StartTrackingButton.cs
|-- StopTrackingButton.cs
|-- ViewTracker.cs
|-- ViewedAreaTracker.csproj
|
|-- Images/
`-- DarkImages/
Contains the main tracking logic. It listens for map camera changes, checks the selected maximum scale, and creates viewed-area polygons.
Defines the available maximum scales and converts the selected scale into the numeric scale used by the tracker.
Starts recording map-view changes.
Stops recording map-view changes.
Defines the ArcGIS Pro ribbon group, Start/Stop buttons, Maximum Scale ComboBox, icons, and add-in metadata.
- A polygon layer named exactly
Viewed_Areasmust already exist in the active map. - The
ViewedTimeandScalefields must already exist. - The tracker records the current map extent as a rectangular polygon.
- Camera changes may generate multiple polygons during navigation.
- Tracking operates on the active ArcGIS Pro map view.
Cynthia Sassenroth, Department of Earth Sciences, University of Gothenburg
This project was built with a healthy amount of curiosity, trial and error, and AI-assisted coding.
The tool was designed around a practical GIS workflow and iteratively tested in ArcGIS Pro. AI was used as a coding assistant during development, while the functionality, testing, debugging, and final design decisions were guided by the author.
In other words: a little bit vibe coded, but tested with care.