Native Land Digital API
  • Native Land Digital API
  • Data Sovereignty Treaty
  • Get and use your API key
  • Request Types
  • Full GeoJSONs
  • By Names and/or Position
  • By Intersecting Polygon
  • Embed a map
  • Mapbox Tilesets
  • ArcGIS Online Living Atlas
  • About and Disclaimers
Powered by GitBook
On this page

Embed a map

Instead of getting the coordinates, just get a map directly.

PreviousBy Intersecting PolygonNextMapbox Tilesets

Last updated 7 months ago

Native Land Digital also offers the ability for you to load a map directly onto your website through our Embed API.

To do this, you should understand the . You will be sending a URL with this request to the embed API.

To create an iframe with a map displayed on it, just set the source of the iframe to the query you want to send. For instance:

<iframe src="https://native-land.ca/api/embed/embed.html?maps=languages&name=witsuwiten&key=your_api_key"></iframe>

Will create the following:

This is a fairly simple map using Leaflet and Open Street Maps as a base layer, to keep everything open source.

Names and Positions API detailed here