Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagehtml
<iframe allow="web-share" id="mazemap-app-iframe" width="100%" height="420" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://use.mazemap.com/?config=CONFIG_TAG_HERE&view_access_token=VIEW_ACCESS_TOKEN_HERE" style="border: 1px solid grey" allow="geolocation"></iframe>

...

If it is needed to link to a different campus than what the app config does, it is possible to also append &campusid=X to the url in the IFrame. Replace X with the id of the campus you want to link to. Before adding this, you might want to double check with a Customer Success Manager if this is needed.

Note: Allowing “Web Share API” from IFrames.

Status
colourYellow
titleUNDER DEVELOPMENT/TESTING

To allow native web sharing from the Iframe, we recommend adding the following part to the <iframe> tag:

allow="web-share"

Read more: https://webkit.org/blog/13708/allowing-web-share-on-third-party-sites/

Custom Share Link Domain Url

...