agentleFS
geoai-latamgeoai-latam/SKILL_JS5_ARCGIS/skills/arcgis-time-animation/AGENTS.md

SKILL_JS5_ARCGIS / arcgis-time-animation

AGENTS.md1 starsChanged 6 months agoMITView on GitHub

Quick-reference for temporal data on SDK 5.1. Read before time filtering or animation.

The file

Files
AGENTS.md

Agent Guide: arcgis-time-animation

Quick-reference for temporal data on SDK 5.1. Read before time filtering or animation.

Quick Decision Tree

  1. Playback UI? → arcgis-time-slider in the map, with fullTimeExtent from layer.timeInfo and stops.
  2. Filter window? → set view.timeExtent (a TimeExtent); it filters client-side.
  3. Layer not filtering? → it has no timeInfo, or its startField does not exist.
  4. One layer must ignore the window? → layer.useViewTime = false.

Setup Checklist

  • await layer.load() and set slider.fullTimeExtent = layer.timeInfo.fullTimeExtent; the slider stays null otherwise.
  • Build dates with Date.UTC(...) or ISO strings, never new Date(y, m, d) (local midnight).
  • Check that the timeInfo.startField exists and is a date field: a wrong name fails silently.
  • Animate by assigning view.timeExtent (or the slider's play()), not by re-querying.

Anti-patterns (one-liner reminders)

  • ❌ A slider with no fullTimeExtent, expecting it to read the layer.
  • ❌ new Date(2020, 0, 1) in a TimeExtent (5 h off in Bogotá).
  • ❌ A timeInfo with a misspelled field (no error, no filtering).
  • ❌ queryFeatures on every animation step.

Files in This Skill

  • SKILL.md / SKILL.es.md — full guides
  • references/api-detail.md — TimeExtent / view.timeExtent / time-slider
  • references/examples.md — playback / filter / animation
  • references/pitfalls.md — extended troubleshooting
  • scripts/snippet-time.ts

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.