Multimap Embedded Maps - Implementation Guidelines / Software Development Kit (SDK)Welcome to the full documentation for the Multimap Embedded Maps service; please click here to see the 'quick start' guide to the service.
Multimap now offers a free Embedded Maps service which allows small businesses, hobbyists and other Internet users to show maps on their sites. The Embedded Maps service, available at no cost from Multimap, provides a single line of HTML which you can copy and paste into a web page. This link creates a map, which can be dragged, in a choice of map styles or aerial imagery for any location in the world.
The pasted HTML includes four hyperlinks back to the Multimap website:
The service is limited to 50,000 transactions per year and cannot be used for any internal applications.
For full details of restrictions that apply when implementing Multimap's Embedded Maps service, please see Multimap's
Embedded Maps Terms and Conditions.
This documentation is for small businesses, hobbyists and other Internet users who wish to show free Embedded Maps on those sites.
The document assumes that you are familiar with the basic features and scope of HTML.
This document covers the embedding of Multimap maps and aerial photographs on websites.
For details of how to incorporate other Multimap services into your own website, including the full-featured Multimap API, please contact the Multimap Sales team whose details appear at the foot of this web page.
Please note that the maps and data used to provide Multimap services represent copyrighted information, which is owned by our data partners. Do not copy, store, cache, or manipulate in any way any of the maps generated by Multimap services. Any violation of this instruction could result in the cancellation of your service.
For full details of restrictions that apply when implementing Multimap's Embedded Maps service, please see Multimap's Embedded Maps Terms and Conditions.
Please ensure also that every web page that you use to provide a Multimap service for your users maintains the link to Multimap's Terms and Conditions of Use of map images and data that appears in the copyright bar at the foot of each Embedded Map.
To obtain a free Multimap map to embed in your website:
Multimap delivers Embedded Maps in several sizes:
| Description | Dimensions (width x height in pixels) |
|---|---|
| Small | 350x280 |
| Medium (default) | 500x400 |
| Large | 640x512 |
| Custom | Any size between 100x100 and 800x800 |
The default Embedded Map is medium-sized and of the map type and zoom factor specified in the original request to the Multimap website.
If you wish to change the size of the map or the location of its red circle, edit the HTML code as required.
Please note that, if you use HTML to change the size of your map, you must also change the size of the <iframe> that contains it,
in order to show the correct copyright information.
The Multimap Embedded Maps service uses the same parameters to deliver its maps as the Multimap website:
| Name | Description | Permissible Values | Example | Mandatory? |
|---|---|---|---|---|
| countryCode | This is the two-letter code that determines the country in which the map's location is situated. | Any valid two-letter International Organization for Standardization (ISO) country code | countryCode=US |
Only if you are also using the qs parameter |
| emid | This is the unique Embedded Map key that identifies and activates the embedded map. | Any valid key, generated automatically by Multimap | N/A (generated automatically and inserted into the default URL when you click on the link to accept the terms and conditions of the Embedded Maps service) | Yes |
| height | This is the height/width of the map, in pixels, within its <iframe>. |
Any integer between 100 and 800 | height=400 | No |
| lat | This is the map's latitude coordinate. | Any decimal between -90 and 90 | lat= | Only if you are also using the lon parameter |
| lon | This is the map's longitude coordinate. | Any decimal between -180 and 180 | lon= | Only if you are also using the lat parameter |
| mapType | This determines the type of map or aerial image that appears. | "map", "aerial" or "hybrid" (Please note that Bird's Eye imagery is not currently available via the Multimap Embedded Maps service.) |
mapType=aerial | No |
| moveMap | This is the distance southwards and eastwards, in pixels, by which the map is offset from its default position. | Any comma-separated pair of integers (east, south) | moveMap=50,50 | No |
| qs | This 'quick search' parameter is a string that identifies a location by its address. | Any string that contains a valid postal (or ZIP) code, place name or address, with blank spaces substituted with the %20 character |
qs=fleet%20street,%20london |
Only if you are also using the countryCode parameter |
| redCircle | This parameter determines whether the Multimap red circle appears on the map. | "true", "false" | redCircle=true | No |
| width | This is the width of the map, in pixels, within its <iframe>. |
Any integer between 100 and 800 | width=500 | No |
| zoomFactor | This is the zoom factor of the map - the extent to which you have zoomed it in or out. | Any integer between 1 and 23 | zoomFactor=15 | Yes |
lat and lon parameters
or a combination of countryCode and qs parameters.
Please note also that coordinates take precedence over other parameters when determining a location.
This section shows an image of a Multimap Embedded Map as it appears on a web page with with all its default settings.
<div id="MMEmbeddedMap" style="padding:8px"> <iframe width="500" height="400" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://www.multimap.com/client/embed/?lat=51.51453&lon=-0.10845&zoomFactor=16 &qs=ec4a 2dy&emid=[embedded_map_key]"> </iframe> <div><a href="http://www.multimap.com/maps/?lat=51.51453&lon=-0.10845&zoomFactor=16"> View map of Greater London, England, UK</a> on Multimap.com<br /> <a href="http://www.multimap.com/maps/?lat=51.51453&lon=-0.10845&zoomFactor=16&mapType=oblique"> Bird's Eye view of Greater London, England, UK</a><br /> Get directions <a href="http://www.multimap.com/directions/?lat_2=51.51453&lon_2=-0.10845&countryCode_2=GB &displayName_2=Greater London, England&qs_2=Greater London, England">to</a> or <a href="http://www.multimap.com/directions/?lat_1=51.51453&lon_1=-0.10845&countryCode_1=GB &displayName_1=Greater London, England&qs_1=Greater London, England">from</a> Greater London, England, UK </div> </div>
This example demonstrates how the act of selecting a smaller Embedded Map 'over-writes' the default size
and specifies the map's new new height and width in the HTML code,
along with the size of the <iframe> that contains it.
<div id="MMEmbeddedMap" style="padding:8px"> <iframe width="350" height="280" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://www.multimap.com/client/embed/?width=350&height=280 &lat=51.51453&lon=-0.10845&zoomFactor=16&emid=[embedded_map_key]&mapType=map&moveMap=0,0"> </iframe><br /> <a href="http://www.multimap.com/maps/?lat=51.51453&lon=-0.10845&zoomFactor=16" target="_blank"> View map of Greater London on Multimap.com</a><br /> <a href="http://www.multimap.com/maps/?lat=51.51453&lon=-0.10845&zoomFactor=16&mapType=oblique" target="_blank"> Bird's Eye view of Greater London on Multimap.com</a><br /> <div> Get directions <a href="http://www.multimap.com/directions/?lat_2=51.51453&lon_2=-0.10845&zoomFactor=16&qs_2=Greater London" target="_blank">to</a> or <a href="http://www.multimap.com/directions/?lat_1=51.51453&lon_1=-0.10845&zoomFactor=16&qs_1=Greater London" target="_blank">from</a> Greater London on Multimap.com </div> </div>
| Description | Screenshot | Code |
|---|---|---|
| A small Embedded Map with the Multimap red circle suppressed |
View map of Greater London on Multimap.com Bird's Eye view of Greater London on Multimap.com |
<iframe width="350" height="280" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://www.multimap.com/client/embed/?width=350&height=280 &lat=51.51453&lon=-0.10845&zoomFactor=16 &emid=[embedded_map_key]&mapType=map &moveMap=0,0&redCircle=false"></iframe><br /> <a href="http://www.multimap.com/maps/?lat=51.51453&lon=-0.10845 &zoomFactor=16" target="_blank">View map of Greater London on Multimap.com</a><br /> <a href="http://www.multimap.com/maps/?lat=51.51453&lon=-0.10845 &zoomFactor=16&mapType=oblique" target="_blank"> Bird's Eye view of Greater London on Multimap.com</a><br /> <div>Get directions <a href="http://www.multimap.com/directions/?lat_2=51.51453&lon_2=-0.10845 &zoomFactor=16&qs_2=Greater London" target="_blank">to</a> or <a href="http://www.multimap.com/directions/?lat_1=51.51453&lon_1=-0.10845 &zoomFactor=16&qs_1=Greater London" target="_blank">from</a> Greater London on Multimap.com</div> |
A small Embedded Map showing an address by means of the qs and countryCode parameters |
View map of Berlin on Multimap.com Birds Eye view of Berlin on Multimap.com |
<iframe width="350" height="280" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://www.multimap.com/client/embed/?width=350&height=280 &qs=unter%20den%20linden%202,%20berlin%2010117&countryCode=de&zoomFactor=17 &emid=[embedded_map_key]&mapType=map&moveMap=0,0"></iframe><br /> <a href="http://www.multimap.com/maps/?lat=52.5177&lon=13.39772&zoomFactor=17" target="_blank">View map of Berlin on Multimap.com</a><br /> <a href="http://www.multimap.com/maps/?lat=52.5177&lon=13.39772&zoomFactor=17&mapType=oblique" target="_blank">Birds Eye view of Berlin on Multimap.com</a><br /> <div>Get directions <a href="http://www.multimap.com/directions/?lat_2=52.5177&lon_2=13.39772 &zoomFactor=17&qs_2=Berlin" target="_blank">to</a> or <a href="http://www.multimap.com/directions/?lat_1=52.5177&lon_1=13.39772 &zoomFactor=17&qs_1=Berlin" target="_blank">from</a> Berlin on Multimap.com</div> |
A small Embedded Map without any additional hyperlinks, showing a location by means of the qs and countryCode parameters |
<iframe width="350" height="280" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://www.multimap.com/client/embed/?width=350&height=280&qs=raddon%20top&countryCode=uk&zoomFactor=12 &emid=[embedded_map_key] &moveMap=0,0"></iframe><br /> <a href="http://www.multimap.com/maps/?lat=51.51453&lon=-0.10845&zoomFactor=16" target="_blank">View map of Greater London on Multimap.com</a><br /> <a href="http://www.multimap.com/maps/?lat=51.51453&lon=-0.10845&zoomFactor=16&mapType=oblique" target="_blank"> Bird's Eye view of Greater London on Multimap.com</a><br /> <div>Get directions <a href="http://www.multimap.com/directions/?lat_2=51.51453&lon_2=-0.10845 &zoomFactor=16&qs_2=Greater London" target="_blank">to</a> or <a href="http://www.multimap.com/directions/?lat_1=51.51453&lon_1=-0.10845&zoomFactor=16&qs_1=Greater London" target="_blank">from</a> Greater London on Multimap.com</div></td> |
|
The same map as the previous example, with its center offset by 50 pixels east and 50 pixels south by means of the moveMap parameter |
<iframe width="350" height="280" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://www.multimap.com/client/embed/?width=350&height=280&qs=raddon%20top&countryCode=uk&zoomFactor=12& &emid=[embedded_map_key] &moveMap=50,50"></iframe><br /> <a href="http://www.multimap.com/maps/?lat=51.51453&lon=-0.10845&zoomFactor=16" target="_blank">View map of Greater London on Multimap.com</a><br /> <a href="http://www.multimap.com/maps/?lat=51.51453&lon=-0.10845&zoomFactor=16&mapType=oblique" target="_blank"> Bird's Eye view of Greater London on Multimap.com</a><br /> <div>Get directions <a href="http://www.multimap.com/directions/?lat_2=51.51453&lon_2=-0.10845 &zoomFactor=16&qs_2=Greater London" target="_blank">to</a> or <a href="http://www.multimap.com/directions/?lat_1=51.51453&lon_1=-0.10845&zoomFactor=16&qs_1=Greater London" target="_blank">from</a> Greater London on Multimap.com</div></td> |
|
| A small aerial photograph without any additional hyperlinks |
<iframe width="350" height="280" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://www.multimap.com/client/embed/?width=350&height=280 &lat=51.51453&lon=-0.10845&zoomFactor=16 &emid=[embedded_map_key]&mapType=aerial &moveMap=0,0"></iframe> |
If you require further help with your Multimap service implementation, additional Multimap services or general account enquiries, please contact Multimap:
| Sales: | +44 (0)20 7632 7800 |
| Customer Support: | +44 (0)20 7632 7777 |
| email: | mminform@microsoft.com |