Map
An interactive map with multiple engines and tile styles. Tabs: Content, Styling, Animations, Advanced.
An embedded map is an <iframe>, and every iframe needs a title (e.g. "Map to our office") so screen-reader users know what it is before diving in. Embeds are heavy, too โ loading the map only when it scrolls into view keeps the page fast. MDN: the iframe element
Live demoโ
โถ See the Map live on the demos site โ an interactive example you can click through.
Map Engineโ
| Engine | Notes |
|---|---|
| OpenStreetMap | Free, no API key |
| Google Maps | Requires an API key |
Map Style (OpenStreetMap)โ
Eight tile families โ some need a free API key:
OpenStreetMap โ Standard ยท CARTO (Light / Dark / Voyager) ยท OpenTopoMap โ Terrain ยท
CyclOSM โ Cycling ยท Humanitarian (HOT) ยท Esri โ World Imagery (Satellite) ยท
Stadia / Stamen (API key) ยท Thunderforest (API key) ยท MapTiler (API key)
Sub-styles:
- CARTO โ Positron (Light), Dark Matter (Dark), Voyager
- Stadia / Stamen โ Alidade Smooth, Alidade Smooth Dark, Outdoors, Stamen Toner, Stamen Terrain, Stamen Watercolor
- Thunderforest โ OpenCycleMap, Transport, Landscape, Outdoors
- MapTiler โ Streets, Satellite, Outdoor / Topo
API-key fields appear for Stadia, Thunderforest, MapTiler and Google as needed.
Map Type (Google)โ
Roadmap, Terrain, Satellite, Hybrid.
Otherโ
Population Method, Map Height, Disable zoom on scroll, Background Color, Margin & Padding.
Capture a few representative tile styles: map-osm-standard, map-carto-dark,
map-esri-satellite, map-google-roadmap.
Contentโ
Stylingโ
