Sales group
A sales group shows several sales maps together on one page.
Create a sales group
Section titled “Create a sales group”On Sales Maps, press Sales Groups, then Create a new group.
Type the name in Map Group. Set Width and Height for the size of the group on the page, then press Create Sales Map Group. The name has to be longer than two characters, and it can’t match a group you already have.
Edit the group
Section titled “Edit the group”Open the group from Sales Map Groups. Add the sales maps you already have under Group Maps: choose one in Select Sales Map and press Add Sales Map. Remove a map with the trash icon beside it. Press Update to save.
Frame is Single or Split. Align places each map’s title Left, Center, or Right.
The title of each sales map is an accordion bar. Height is how tall that bar is. Color is its background, and H-Color is the color when the pointer is over it. Font, F-Size, and F-Color are the typeface, size, and color of the title on that bar.
Preview
Section titled “Preview”On Edit Sales Map Group, open Actions and choose Preview.
Sales Map Preview is a live view of the group, shown the way it will be hosted on your website. The title bars use the color, type, and alignment you set, and each one opens that sales map. Pan, zoom, and place a pin here to test the group before anyone else sees it.
Integration instructions
Section titled “Integration instructions”On Edit Sales Map Group, open Actions and choose Integration Instruction.
Sales Module Integration Instructions gives you code that is ready to paste. It already includes your sales map key and this group’s ID. Copy it from the dialog. The samples below use YOUR_KEY and group 1 so the shape of the code is clear.
groupID is the number at the top of the Edit Sales Map Group sidebar, labeled Group ID.
API Map
Section titled “API Map”API Map puts the group menu and the map in two divs you place on the page.
Step 1. Include the MIR script in the <head> of the page.
<script id="MIRSALESAPI" type="text/javascript" async src="https://app.mapitright.com/Sales/mirSalesAPI.js?mirKey=YOUR_KEY&InitCallBack=mirCallBack"></script>Step 2. Add two <div> elements where the group should appear. One is the menu of map titles. The other is the map.
<div id="mirMenuDivID"></div><div id="mirMapViewDivID"></div>Step 3. Add this function in the <body>. Set groupID to the Group ID from the sidebar.
function mirCallBack() { var groupParams = { groupID: 1, menuDivID: 'mirMenuDivID', viewDivID: 'mirMapViewDivID', }; mirSalesAPI.displayGroup(groupParams, (response) => {});}IFrame Map
Section titled “IFrame Map”IFrame Map is one tag. Paste it where the group should appear. The dialog fills in your key and the Group ID. Width and height follow the group’s Width and Height.
<iframe name="mirMapsIframe" src="https://app.mapitright.com/Sales/mirSalesMaps.html?mirKey=YOUR_KEY&GroupId=1&Mode=g" width="900" height="750"></iframe>
