Interactive Svelte + ArcGIS JS SDK mapping application with AI-powered chat by Groq LLM for natural language map navigation and more.
- AI chat for map navigation
- Drawing tools (markers, lines, polygons)
- Location services & web search
- Draggable/resizable interface
- Node.js 20+
- Docker (optional)
- Groq API key
- Copy
.envfile and put your API key:
VITE_GROQ_API_KEY=your_groq_api_key_here
- Install dependencies:
npm install- Run development server:
npm run devOr with Docker:
docker-compose up --buildOpen http://localhost:3000
This project uses Prettier for code formatting. You can format your code using:
npm run format
npm run format:check
docker exec -it arcgisjsai-arcgisjsai-1 npm run formatAsk the AI to navigate and interact with the map:
- "Take me to New York"
- "Add a marker here"
- "Find restaurants near me"
- "Zoom to Singapore"
- "What's my current location?"
The chat sidebar is draggable and resizable.