Live placeholder maps

Lorem Mapsum.

Placeholder map images for developers.

London Placeholder map of London
// the entire API
GET https://api.mapsum.dev/800/500?city=london&style=light
How it works

Three steps. No SDK.

A URL is the entire interface. Pick the dimensions you want, drop the URL into your markup, and you have a map.

  1. 01

    Pick your dimensions

    Width and height in pixels go in the path. Anything from 10 to 4000.

    /800/500
  2. 02

    Drop the URL in your code

    It is just an image. Use it anywhere an image works.

    <img src="https://api.mapsum.dev/800/500"/>
  3. 03

    Get a map

    Cropped, resized, and cached at the edge. Same URL, same image, every time.

    Example map output
Playground

Compose a URL.

Adjust any parameter and the preview updates instantly. Copy the URL, the <img> tag, or the markdown.

Style
Zoom
Format
Live preview
800 × 500 light district
  
Snippets

Drop it anywhere.

Lorem Mapsum is a URL, so it works in every framework, every templating language, every editor.

<img src="https://api.mapsum.dev/600/400" alt="Map placeholder" width="600" height="400" />
API reference

One route. A handful of options.

The path holds the dimensions. Everything else is a query parameter.

ParameterDefaultDescription
:widthrequiredImage width in pixels (10–4000).
:heightrequiredImage height in pixels (10–4000). Append .jpg, .webp or .png to set the format.
cityrandomCity slug. Try london, tokyo, singapore.
stylelightOne of light, dark, blueprint.
zoomrandomOne of city, district, neighbourhood.
seedSame seed always returns the same image.
london light example
/320/200?city=london&style=light
tokyo dark example
/320/200?city=tokyo&style=dark
new-york blueprint example
/320/200?city=new-york&style=blueprint