Embed a map

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

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 Names and Positions API detailed here. 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="/?originalUrl=https%3A%2F%2Fapi-docs.native-land.ca%2F%26quot%3Bhttps%3A%2F%2Fnative-land.ca%2Fapi%2Fembed%2Fembed.html%3Fmaps%3Dlanguages%26amp%3Bname%3Dwitsuwiten%26amp%3Bkey%3Dyour_api_key%26quot%3B%26gt%3B%26lt%3B%2Fiframe%26gt%3B%253C%2Fspan">

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.

Last updated