Placeholder map images for web development, wireframes, and prototypes.

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.

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

Lorem Mapsum generates map images from OpenStreetMap data. Pick your dimensions, choose a city and style, and get a PNG, JPEG, or WebP image back.

  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.

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.

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.

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

Returns map images for ten cities: London, Paris, New York, Tokyo, Sydney, Dubai, Sao Paulo, Cape Town, Mumbai, and Singapore.

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