agentleFS
geoai-latamgeoai-latam/SKILL_JS5_ARCGIS/skills/arcgis-embeddable-maps/AGENTS.md

SKILL_JS5_ARCGIS / arcgis-embeddable-maps

AGENTS.md1 starsChanged 6 months agoMITView on GitHub

Quick-reference for embedding WebMaps. Read before embedding.

  • Installs packages

The file

Files
AGENTS.md

Agent Guide: arcgis-embeddable-maps

Quick-reference for embedding WebMaps. Read before embedding.

Quick Decision Tree

  1. Quick embed of a saved map? → Embeddable Map (its own CDN script + arcgis-embedded-map).
  2. Custom app? → Map Components / Core API instead.
  3. No build tooling? → Embeddable Map (pure HTML).

Setup Checklist

  • Add <script type="module" src="https://js.arcgis.com/5.1/embeddable-components/"> (not js.arcgis.com/5.1/).
  • Set item-id to a saved WebMap.
  • Ensure the item is shared appropriately (public, or an api-key scoped to it).
  • Turn tools on with *-enabled attributes (all off by default); scroll-enabled for wheel zoom.

Anti-patterns (one-liner reminders)

  • ❌ <script src="https://js.arcgis.com/5.1/"> for an embed: the element is never defined, no error.
  • ❌ pnpm add @arcgis/embeddable-components (not on npm).
  • ❌ hide-legend / hide-bookmarks: not attributes; they do nothing.
  • ❌ Expecting deep customization (use the full SDK).

Files in This Skill

  • SKILL.md / SKILL.es.md: full guides
  • references/api-detail.md: element attributes
  • references/examples.md: embed / options / reading webMap
  • references/pitfalls.md: extended troubleshooting
  • scripts/snippet-embed.ts: CDN/script-tag pattern (no npm import)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.