Dual Maps Version 5
About Dual Maps
- Dual maps combine Google Maps, Google Street View and Microsoft Bing Maps into one embeddable control.
- Dual Maps are free to use. No registration is required.
- Many customization options are available.
Get Started
To create a Dual Map enter your settings below and click 'Create'.
Copy and paste the generated script into your web page.
|
|
Whats New in Version 5 ?
Version 5 is a full rewrite of the Dual Maps code. This version uses the latest Google Maps v3 API which is faster to load and offers better support for mobile devices.
The interface now has a tabbed menu bar to select which panels to view. An information panel has been added to display details and coordinates of the place marker and streetview marker.
Some v4 features have been removed to simplify the control. These include the choice of street view icons and the panoramio and traffic layers.
Version 5 has some useful new features such as the dynamic bookmark link which allows you to easily bookmark the currently viewed location.
You can also use a custom place marker icon and make the place marker draggable.
Please contact us if you require any additional functionality or have a custom mapping requirement.
|
Dual Map Preview
Create Your Dual Map
|
Google Map Type
|
| |
Bing Map Type
|
| |
Mousewheel Scroll
|
| |
Auto Birdseye
|
|
|
|
Dual Map Script
Copy and paste the HTML script below into your web page
Link To a Full Page Map
Example Link:
Dual Maps Reference
A dual map can be added to your web page by pasting the HTML map script.
This code adds an Iframe containing a block of code to the page.
You can manually edit this code to modify your maps appearance.
There are two elements within the script that can be changed:
style and
src.
|
Style Parameter
|
Parameter Description
|
|
width
|
Either a percentage value such as 100% or a value in pixels such as 800px.
|
|
height
|
Should be a value in pixels (e.g. 500px)
|
|
padding
|
Should always be 0
|
|
border
|
Use 'border:solid 1px black' for a single pixel border around the maps. Remove this parameter for no border.
|
|
Src Parameter
|
Default Value
|
Parameter Description
|
|
lat
|
0
|
Latitude of Place Marker
|
|
lng
|
0
|
Longitude of Place Marker
|
|
z
|
0
|
Map Zoom Level (0 to 21).
|
|
gm
|
0
|
Google Map Type. 0=Road Map, 1=Satellite, 2=Hybrid, 3=Terrain
|
|
bm
|
2
|
Bing Map Type. 0=Road Map, 1=Satellite, 2=Hybrid
|
|
mw
|
1
|
Mouse Wheel Scrolling. 0=disabled, 1=enabled.
|
|
be
|
1
|
Auto Bird's Eye. 0=No, 1=Yes.
|
|
mv
|
1
|
Marker is Visible
|
|
md
|
1
|
Marker is Draggable
|
|
mi
|
1
|
Marker Image: 1=Red(default), 2=Green, 3=Yellow, 4=Blue, or supply the url of a 32x32 marker image.
|
|
panel
|
msb
|
Initially visible panels: m=map, s=street view, b=bird's eye, i=info.
|
|
pt
|
blank
|
Place Title
|
|
pd
|
blank
|
Place Description
|
|
slat
|
0
|
Street View Latitude
|
|
slng
|
0
|
Street View Longitude
|
|
sh
|
0
|
Street View Heading. -360 to 360 degrees.
|
|
sp
|
0
|
Street View Pitch. -90 to 90 degrees.
|
|
sz
|
1
|
Street View Zoom. 0 to 3.
|
|
addr
|
blank
|
Address to geocode. If an address parameter is supplied the lat and lng parameters are ignored
|
Terms and Conditions
1. Display the maps with no portions obscured.
2. Do not modify or adapt the javascript code without written permission from Map Channels.
3. Comply with the
Google Maps Terms and the
Bing Maps Terms.
Version History
26th March, 2013: Version 5. The Dual Maps code has been fully rewritten to use the current Google Maps v3 API. The project is available at both
MapChannels.com and DualMaps.com.
7th November, 2011. Project moved to www.dualmaps.com as version 4.
2nd October, 2011. Improvement to the map loading process.
28th May, 2011: Version 3.03.
April, 2011: Version 3.02.
May, 2010: Version 3.01.
April, 2009: Version 3.0.
26th March, 2008: Version 2.
12th March, 2008: Version 1.
Related Links
Street View Driver - explore street view imagery with this driving simulator.
Dual Maps v4 - the previous version which uses the Google Maps v2 API (deprecated).
Feedback
If you have any comments or suggestions about Dual Maps please use the
Contact page to get in touch.