Copy and paste this code into your web page.
Copy and paste this code into your web page.
|
Parameter Name
|
Parameter Description
|
|
saddr
|
Start Address
|
|
daddr
|
Destination Address
|
|
tm
|
Travel Mode. 0=Driving (default) 1=Walking 2=Bicycling
|
|
ah
|
Avoid Highways. 0=No (default), 1=Yes
|
|
at
|
Avoid Toll Road. 0=No (default), 1=Yes
|
|
region
|
Geocoding Region. Leave blank for United States, 'uk' for United Kingdom, etc.
|
|
units
|
Measurement Units. 0=Miles (default) 1=Kilometres
|
|
|
|
fi
|
Frame Interval. Duration in milliseconds between updates to the pegman marker location. Default = 1500
|
|
fs
|
Frame Step. Distance in metres travelled each time the pegman marker moves along the route. Default = 25
|
|
z
|
Zoom Level - the zoom level used when the 'Play' button is first clicked. Default = 15
|
|
timeout
|
Animation Timeout - number of seconds after which an animation automatically stops. Default = 90
|
|
|
|
sw
|
Sidebar width in pixels (can be set to zero if no sidebar is required).
|
|
maptype
|
Map Type. 0=Road 1=Satellite 2=Hybrid (default) 3=Terrain.
|
|
|
|
svz
|
Street View Zoom. 0 (Far) to 4 (Near). Default = 2.
|
|
svc
|
Street View Pegman Control. 0=Off 1=On. Default=1
|
|
be
|
Enable Bing Maps Birds Eye View. 0=No 1=Yes
|
|
bd
|
Birds Eye View Direction. -1=Auto 0=North 1=East 2=South 3=West
|
|
drag
|
Draggable Route. Users can click and drag any part of the route to add waypoints to the route. 0=No (default) 1=Yes.
|
|
|
|
aw
|
Address Text Box Width in pixels. Default = 250
|
|
fgc
|
Header Foreground RGB Colour. Default = 000000
|
|
bgc
|
Header Backround RGB Colour. Default = 000000
|
|
rc
|
Route RGB Colour. Default = FF0000
|
|
rw
|
Route stroke width in pixels. Default = 3
|
|
ro
|
Route Opacity, between 0 and 1. Default = 0.7
|