Map templates, blocks and examples
Start with a map that already does something: a complete template, a page block for your app, or a small example to copy. Make the places, the content, and the colours yours.
- Template
- A complete map app with sample content. It installs as React components you edit, and you swap in your own places.
- Page block
- A whole page that calls the unmap API with your key. It installs as a route in your Next.js or Nuxt app.
- Example
- A small React demo of one component on a real Canadian place, ready to copy into your app.
Showing 29 of 29
Business locator
Connect your locations to a searchable list. Help visitors find the right place and see what it offers.
- Search and category filters
- Linked map and location details
- Customizable colours and content
- Next.js
- React
- HTML
Local guide
Give your places a point of view. Connect short stories to a sequence of stops on the map.
- A sequence of linked stops
- Place notes beside the map
- Previous and next navigation
- Next.js
- React
- HTML
Public notices
Make local updates easy to find. Put a place, a status, and a clear explanation behind each notice.
- Filter notices by status
- Linked map and notice details
- Space for timing and next steps
- Next.js
- React
- HTML
Map story
Tell a story the map can follow. As readers scroll, each chapter moves the camera and reveals a route or a travel-time area.
- Chapters that move the camera as you scroll
- Routes and travel-time areas answered live by the routing API
- A readable prose column with a map that stays in view
- Next.js
- React
Store locator
Help people find the branch nearest them. Search pulls the map in, the list follows the view, and the branch they pick shows its drive-time area and directions.
- Search with clustered branches and a list that follows the map
- A drive-time area around the branch you pick
- Directions to it, on Ottawa Public Library branches (City of Ottawa open data)
- Next.js
- Nuxt
Directions
Get people from A to B with the travel time up front. Switch between driving, cycling and walking and watch the route and the reachable area change.
- Two search boxes and a drive, cycle or walk switch
- The route draws in with its travel time as the headline
- A reachable-area toggle from the start
- Next.js
- Nuxt
Migration flow map
Show how people move between provinces, year by year. Scrub through five years of Statistics Canada data and watch each province's net gain or loss.
- Curved flows between the capitals, sized by people
- A year scrubber that animates the change
- Statistics Canada open data, credited on the page
- Next.js
- Nuxt
Elevation explorer
Show the climb before anyone sets out. Pick a mountain trip, route your own by bike or draw a line, and read every grade on a chart that answers the map.
- Sample trips, a bike route or a line you draw
- A profile chart and the map answer each other on hover
- The line coloured by grade
- Next.js
- Nuxt
Delivery tracker
Keep customers informed while an order is on its way. A courier moves along the route and the arrival card counts down and ticks off each stage.
- A route from a depot to a drop-off
- The travelled part fills in as the courier moves
- An arrival time that updates as the courier moves
- Next.js
- Nuxt
Census choropleth
Turn a table into a map people can read. Colour the provinces and territories by 2021 Census population, change since 2016 or density, and hover for the number.
- Three metrics on one switch
- A legend that lists each class's provinces
- Your own numbers join by id with feature-state
- Next.js
- Nuxt
Legal land and treaty inspector
Find out what is at any point. Click the map or type a legal land description and get the survey cell and the treaty records there in one card.
- Legal land search, or click anywhere
- The survey cell hatched and the treaty records dotted on the map
- Without legal land on the key, it says why and still answers with treaties
- Next.js
- Nuxt
Address playground
Try the geocoder before you build on it. Search in English, French or Inuktitut syllabics and see every name, detail and nearby place a result carries.
- Autocomplete and typed coordinates
- Every name with its language, syllabics where the record has them
- Nearby places in six categories
- Next.js
- Nuxt
Energy explorer
Give field and land teams a map console for Alberta energy data: wells, pipelines and facilities, a layer legend, UWI and licence search, and click to identify.
- Wells, pipelines and facilities from Alberta Energy Regulator open data
- A layer legend to switch each one on and off
- Says why when a key lacks the Energy add-on, instead of failing
- Next.js
- Nuxt
Ski resort explorer
Browse every ski area in Canada on 3D terrain: search, filter by province or activity, and fly to one for its vertical, runs, lifts, aspect and drive time.
- Ski areas, runs and lifts from OpenStreetMap, credited under the ODbL
- An eight-direction aspect readout and the drive time from the nearest city
- Says why when a key lacks the Ski add-on, instead of failing
- Next.js
- Nuxt
View explorer
Can you see the Rockies from this home? Click a building in 3D Calgary: its view opens west as a surface, scored, with the skyline from its window.
- The view as one surface in the air, its far edge bright where it meets the mountains
- A score, the skyline from that window and 15 named summits marked in sight or hidden
- Reads the map's own terrain tiles in the browser, with Earth curvature and refraction
- Next.js
- Nuxt
Urban noise map
How loud is a street, day and night? Modelled noise in six Canadian cities, a Day / Night switch, and any spot's level against the WHO guideline.
- Road, rail, aircraft and commercial noise, credited to OpenStreetMap under the ODbL
- A spot's day and night levels against the WHO guideline, its score and a bar per source
- Says why when a key lacks the Urban Noise add-on, instead of failing
- Next.js
- Nuxt
Alive route explorer
Walking directions that trade a minute for a nicer walk: past parks, the river, streets away from traffic, cafés and public art, with dials for what counts.
- The fastest walk and livelier detours, scored on parks, water, distance from traffic, street life and landmarks
- Dials and an extra-time budget that re-rank the walks without calling the API
- Says so when places or the map tiles are unavailable, instead of guessing
- Next.js
- Nuxt
Marker and popup
Put an accessible marker on the map and open a popup when it is clicked.
- Built on marker-popup
- A shadcn Button as the marker
- Next.js
- React
Measure a distance
Click points on the map and read the distance as you go. A live label follows the line.
- Built on measure
- No data needed
- Next.js
- React
Inspect map features
Click anything on a map of Ottawa to list the features there, then pick one to read its properties.
- Built on feature-inspector
- No data needed
- Next.js
- React
Play a timeline
Press play or drag the slider to add sample bike-share docks to Calgary year by year, from 2019 to 2025.
- Built on time-slider
- Illustrative docks included
- Next.js
- React
Draw on the map
Draw points, lines, areas and circles on a map of Calgary, then move and edit them. The shapes come out as GeoJSON.
- Built on draw
- No data needed
- Next.js
- React
Compare two styles
Drag the divider across Vancouver to compare the base and outdoor styles on one shared camera.
- Built on compare-swipe
- No data needed
- Next.js
- React
Trail elevation profile
Chart the climb of a sample trail up Tunnel Mountain in Banff, and hover the chart to find each point on the map.
- Built on elevation-profile
- Sample trail included
- Next.js
- React
Service zones
Three illustrative service zones over Calgary, drawn as GeoJSON. Hover a zone to highlight it and click it to read its name and hours.
- Built on geojson-layer
- Illustrative zones included
- Next.js
- React
Clustered points
Sixty illustrative points around Montréal in clusters that show their count. Click a cluster and the map zooms in until it splits.
- Built on cluster-layer
- Illustrative points included
- Next.js
- React
Weighted heatmap
A heatmap of sixty illustrative points around Toronto. Switch between counting each point once and weighing it, and watch the hot spots move.
- Built on heatmap-layer
- Illustrative points included
- Next.js
- React
Arcs from Winnipeg
Arcs from Winnipeg to six provincial capitals. Click one for the link and its distance as the crow flies.
- Built on arc-layer
- Illustrative links between real capitals
- Next.js
- React
Migration flows
A year of migration between the four western provinces, from Statistics Canada. Hover or tap a province for its totals in and out.
- Built on flow-layer
- Statistics Canada data, Open Licence
- Next.js
- React
Previews run the installed code on unmap's demo key, with stock shadcn components and the unmap theme. In your project it takes on your theme. Demonstration content. Business locations and public notices are fictional; guide landmarks are real.
Make it yours
Every template, block and example installs as code you own, and its interface follows your shadcn theme. Build a theme to restyle the basemap too.
Customize the map theme