Version: 1.0.0
Requires: ArcGIS Experience Builder 1.17.0+
Author: Brian McLeer, City of Grand Junction
License: Apache 2.0
The Right Click widget extends ArcGIS Experience Builder map functionality with a context menu activated on map right-click. Users can perform spatial operations, measurements, and queries without toolbar buttons.
- Navigation — Zoom in/out, pan to clicked location
- Coordinate Tools — Copy coordinates, plot numbered markers, reverse geocoding
- Measurements — Interactive distance and area measurement with configurable units
- Markers & Text — Add simple markers and text graphics to map
- Queries — Spatial feature queries ("What's Here?") on configured feature services
- Street View — Open Google Street View at clicked location
- Pictometry — Launch Pictometry viewer (URL configurable)
- Property Reports — Trigger external property info widget (optional)
Copy the rightclick folder to your-extensions/widgets/ in your ArcGIS Experience Builder installation.
- Open Experience Builder
- In the toolbar, click Insert Widget
- Search for "Right Click"
- Drag onto canvas to add
- In the widget settings panel, select a Map Widget from the dropdown
- The context menu will appear when users right-click the map
By default, all actions except "Property Report" are enabled. Toggle switches to customize available actions per your needs.
- Map Widget — Required; select which map widget to hook into
- Zoom In/Out
- Center Here
- Copy Coordinates / Plot Coordinates / Plot Marker
- Add Text
- Street View & Pictometry
- Measure Distance / Area
- What's Here? Query
Configure how coordinates are displayed and copied:
- Map coordinates (default)
- Web Mercator
- Custom WKID
Customize appearance of plotted markers and text:
- Plot Coordinates — Numbered markers with coordinate labels
- Simple Markers — Single-click markers
- Text Graphics — User-typed text on map
- Default units: feet, meters, miles, kilometers, yards
- Display: single unit or both metric/imperial
- Add feature service URLs
- Select query fields
- Configure search radius and result limit
- Reverse geocoding service URL
- Pictometry viewer URL
- Property report widget targeting (for Property Report action)
- Tech Stack: TypeScript, React (functional components), jimu-core, jimu-arcgis
- Map Integration: JimuMapView (ArcGIS JavaScript API 4.x)
- Storage: All settings in widget config; no backend required
- Context Menu: Floating menu, screen coordinates; auto-positioned near click point
manifest.json— Widget metadataconfig.json— Default configuration valuessrc/config.ts— TypeScript interfaces and validatorssrc/runtime/widget.tsx— Main widget component (3200+ LOC)src/setting/setting.tsx— Configuration panel (2200+ LOC)
- ArcGIS Experience Builder 1.17.0 or later
- jimu-arcgis dependency (included in ExB)
- ESRI ArcGIS JavaScript API 4.x
- Modern browser (Chrome, Firefox, Safari, Edge)
For issues, feature requests, or documentation, contact the City of Grand Junction GIS team.
Note: See docs/ for architecture, code standards, and detailed configuration reference.