arcgis-layers

Add, configure, and query ArcGIS map layers in JavaScript web apps.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manage and visualize data by adding, configuring, and querying ArcGIS map layers across 2D maps and 3D scenes.

Core Features & Use Cases

  • Create and add various ArcGIS layer types (FeatureLayer, TileLayer, GeoJSONLayer, CSVLayer, etc.) from URLs or portal items.
  • Configure common layer properties (outFields, popupTemplate, renderer, definitionExpression, visibility, ordering) and perform layer management (add, remove, reorder, show/hide) in MapView or SceneView.
  • Support client-side and server-side queries, including spatial queries, attribute queries, and extent calculations to drive map interactions and visualizations.

Quick Start

Create and configure a FeatureLayer from a URL with a popup to display attributes.

Frequently Asked Questions about arcgis-layers

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

FAQPage Schema
How do I add and configure ArcGIS map layers in a JavaScript web app?

You can add and configure ArcGIS map layers by creating FeatureLayer, TileLayer, or GeoJSONLayer instances from URLs or portal items, then setting properties like popupTemplate, renderer, and definitionExpression before adding them to a MapView or SceneView.

Can I perform spatial and attribute queries on ArcGIS FeatureLayers?

Yes, ArcGIS FeatureLayers support both client-side and server-side queries, allowing you to execute spatial queries, attribute queries, and extent calculations to drive map interactions and data visualizations within your application.

Does this ArcGIS Maps SDK for JavaScript approach support 3D SceneView?

Yes, the approach supports both 2D MapView and 3D SceneView, allowing you to add, manage, and query layer types such as FeatureLayer, TileLayer, GeoJSONLayer, and GraphicsLayer across different dimensional views.

What is the best way to manage layer visibility and ordering in ArcGIS Maps SDK?

Layer management in ArcGIS Maps SDK is handled by adding, removing, reordering, and toggling the visibility of layers within the MapView or SceneView, which controls how overlapping data is displayed and interacted with.

How do I load GeoJSON data as a layer on an ArcGIS map?

You can load GeoJSON data by creating a GeoJSONLayer, which integrates local or remote GeoJSON sources into the ArcGIS map, allowing you to apply custom renderers, popups, and filters like other layer types.

What are the limitations when querying ArcGIS layers client-side?

Client-side queries on ArcGIS layers depend on the loaded feature data and its geometry, meaning complex spatial queries or large datasets may require server-side processing via the FeatureLayer URL to avoid performance issues.