Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Who/What is this for?

  • When you want to have MazeMap Maps on your web site, for people to use.

This guide explains how to get an HTML IFrame code snippet to use for your web site to show the MazeMap application.

Example: Maps inside an IFrame on a website

Alternative A) The easiest way:

  • Ask your Customer Success Manager to get a code snippet for your use case. They will go through the steps below and give you a code snippet ready to go.

Alternative B) Modify the snippet yourself

  1. Get a config tag from your Customer Success Manager

  2. Use the snippet below and add your own app config tag

Replace CONFIG_TAG_HERE with your tag

<iframe width="100%" height="420" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://use.mazemap.com/?config=CONFIG_TAG_HERE&utm_medium=iframe" style="border: 1px solid grey" allow="geolocation"></iframe>

Put this code on your web page and it should work!

You can edit the width and height properties to make it fit within your own page. We do recommend making it quite large for good user experience.

We also recommend adding a button outside of the IFrame to allow users to open the maps link in a separate tab, or in their native application if they have it installed. In the example image above, there is a button named “View maps” that links to the same url and opens the maps in a new window or tab.

Note: Linking to specific campus id

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.

  • No labels