Skip to content

Both copy text to your clipboard — Build with AI copies a setup prompt to paste into Claude Code, Cursor, Codex or Copilot; Copy page as Markdown copies this page to paste into a chat. How it works

Styles in Examples

The examples below refer to a style constant. Substitute one of your own styles — the identifiers here are placeholders, not styles hosted for you.

A style URL has the form https://gateway.mapmetrics-atlas.net/styles/?fileName=<STYLE_ID>/<STYLE>.json&token=<API_KEY>. The fileName parameter is required; a bare /styles/<id>?token= returns HTTP 400.

swift
let MAP_STYLE = URL(string:
    "https://gateway.mapmetrics-atlas.net/styles/?fileName=YOUR_STYLE_ID/YOUR_STYLE.json&token=YOUR_API_KEY")