Skip to content

Commit aac636e

Browse files
committed
webmaps embedding
1 parent f51c1a7 commit aac636e

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

src/manage/dashboard-maps/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ MerginMaps.getMap().addLayer(layer)
6262
After syncing the project, the background map will be added to your webmap.
6363

6464
### Customisations
65-
Other customisations can be done. The `map-script.js` file
65+
Other customisations can be done in the `map-script.js` JavaScript file.
6666

6767
## Webmaps extent
6868

src/manage/webmaps-sharing/index.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ Webmaps can be shared via URL. [Admins or owners](../permissions/) can enable ma
2727
2. In the **Map** tab, click on the **Share map** button to generate a shareable link
2828
3. Send the link to anyone to share your project
2929

30+
To see how this works, you can try a link to our [sample project](https://app.merginmaps.com/maps/grDTleg8yCdSracIxs-hmFIGdDs).
31+
3032
To disable the map sharing, click on the **Revoke sharing** button.
3133

3234
![Sharing maps via URL](./map-sharing-url.webp "Sharing maps via URL")
@@ -37,4 +39,12 @@ You can read about this functionality in our blog post <MainDomainNameLink id="b
3739

3840
## Embedding webmaps using iframe
3941

42+
Webmaps that are shared can be also embedded on a website using HTML element `iframe` by using the [URL link](#sharing-maps-via-url) of the webmap.
43+
44+
For example, this code
45+
46+
`<iframe src="https://app.merginmaps.com/maps/grDTleg8yCdSracIxs-hmFIGdDs" height="500" width="700" title="Mergin Maps Webmas Iframe Example"></iframe>`
47+
48+
produces this map:
4049

50+
<iframe src="https://app.merginmaps.com/maps/grDTleg8yCdSracIxs-hmFIGdDs" height="500" width="700" title="Mergin Maps Webmas Iframe Example"></iframe>

0 commit comments

Comments
 (0)