arcgis-map-tools

Organize ArcGIS Maps SDK 4.26 map-tools patterns for web map development.

Updated May 27, 2026
One-click install
npx skills add https://github.com/elowen53/arcgis-maps-sdk-js-ai-context-4.0 --skill arcgis-map-tools-elowen53
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: arcgis-map-tools
Source: https://github.com/elowen53/arcgis-maps-sdk-js-ai-context-4.0/tree/main/skills/arcgis-map-tools
Command: npx skills add https://github.com/elowen53/arcgis-maps-sdk-js-ai-context-4.0 --skill arcgis-map-tools-elowen53

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Centralizes and accelerates the use of ArcGIS Maps SDK 4.26 map tools by providing ready-to-use patterns and code samples for common tasks such as layer comparison, measurement, identify, and routing.

Core Features & Use Cases

  • Swipe widget for side-by-side layer comparison using leading and trailing layers.
  • Unified Measurement widget that adapts for 2D (MapView) and 3D (SceneView) contexts.
  • Identify and routing patterns with examples for both REST and layer query workflows.
  • Directions widget for full turn-by-turn routing UI and optional print/export integrations.
  • ElevationProfile and LineOfSight utilities for 3D analysis and visualization.
  • Practical use case: rapidly prototype an interactive map app that compares basemaps, measures geometry, identifies features, and navigates between points.

Quick Start

Create a MapView, add Swipe, Measurement, and Directions widgets, and wire sample layers to begin.

Frequently Asked Questions about arcgis-map-tools

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a Swipe widget for side-by-side layer comparison in ArcGIS Maps SDK?

To use the Swipe widget for layer comparison in ArcGIS Maps SDK, configure leading and trailing layers, then add the widget to your view using view.ui.add for consistent placement.

Can I use the Measurement widget for both 2D MapView and 3D SceneView?

Yes, the Measurement widget adapts for both 2D MapView and 3D SceneView contexts, allowing developers to measure geometry across different view dimensions using a unified pattern.

What's the best way to implement routing and directions in an ArcGIS web map?

For routing in ArcGIS web maps, use the Directions widget to provide a full turn-by-turn routing UI, and wire sample layers to handle REST and layer query workflows.

How do I perform feature identification on ArcGIS map layers?

Feature identification in ArcGIS is handled through identify patterns that support both REST endpoints and layer query workflows, enabling interactive feature detection across your map views.

Does this skill include 3D analysis tools like ElevationProfile and LineOfSight?

Yes, ElevationProfile and LineOfSight utilities are included for 3D analysis and visualization, enabling elevation assessment and visibility checks within SceneView contexts.

How do I place map widgets consistently across different ArcGIS views?

Consistent widget placement across ArcGIS views is enforced via the view.ui.add method, ensuring that tools like Swipe, Measurement, and Directions are positioned uniformly.