Share and embed maps
If you're looking to share or embed your public or private maps, click the "more" icon (...) in the lower right corner and then choose "Share / embed this map". You'll be prompted with this window:
Include map overview in sidebar allows you to include the sidebar in your shared/embedded map. If you don't select this option, the map will be displayed full screen. When your readers start to interact with the map, the sidebar will follow the standard behavior—when an element, connection, or loop is clicked, the profile will expand.
Include current position and scale allows you to override the default "zoom fit" positioning of the map and instead use a custom position and zoom level.
When you're done adjusting the settings, click "Create embed / share link". Then, just copy the share link and send it to a friend, or copy and paste the iframe code into your website to embed.
You can also use the external link button () to open the map link in a new tab.
Good to know:
- Anyone who has access to the the share link or the embedded version will be able to view the map, even if the project is private.
- Shared/embedded maps won't reflect updates you have made to the style or content of the map. To reflect those updates, you need to create a new share/embed link.
Advanced Options for Embeds
By default, embeds include all of the built-in map controls (search, zoom, and settings). If you don't need them, you can use the URL parameters below to pick and choose what you want to include:
search=0hides the search control
zoom=0hides the zoom buttons
settings=0hides the settings button
bare=1hides all built-in controls
simple=1hides all controls except the zoom buttons
To use them, just add the desired parameters to the query string of the embed URL.
Here's an example of how you would disable the settings button:
Note that you need to put a
? after the default URL before adding custom parameters.
Also, if you are using more than one custom parameter, join them together with
&. For example, to disable zoom and settings, you would use: