Features

Linking to MapQuest Driving Directions

LinkFree Main | Link to Home Page | Link to Maps | Link to Driving Directions



You have three different options when linking to driving directions on MapQuest.
Instructions for carrying out each of these options are listed below.

By linking to MapQuest you agree to comply with our terms and conditions.



Option 1 - Link to MapQuest Directions Form URL

You may use statements to link to driving directions on the MapQuest Web site. Information specific to the destination is passed through the URL by appending name/value pairs separated by the ampersand character.

Example HREF (Fixed Destination):
Sample HTML: Example:


Base URL:
http://www.mapquest.co.uk/mq/directions/mapbydirection.do?

Fixed name/value pairs:
Go=1

Variable name/value pairs:
Parameter
Description
Default
Required?
a1 Origin Street Address None No
a2 Destination Street Address None No
c1 Origin City None No
c2 Destination City None No
z1 Origin Postcode None No
z2 Destination Postcode None No
y1 Origin Country
(Use ISO Country Codes)
None Yes
y2 Destination Country
(Use ISO Country Codes)
None Yes
CID Required by MapQuest lfddlinkuk Yes


The following combinations of location information may be used to map locations in Europe:
  • Address, City,Postcode
  • Address, City
  • City
  • Postcode



    Option 2 - Form with Starting Point Only

    You may post an HTML form on your own web page. Your users can complete and submit their origin information to generate driving directions on the MapQuest site.
     
    Sample HTML: Example:
    (NOTE - Remember to replace the hidden values with your ending address, for help with these values, see the table above.)

    ( Ending point in this example is coded as " 100 Broad Walk, London, SE3+8, GB")


    MapQuest
    FROM:
    Address or Junction:
    City:
    Postcode:
    Country:



    Option 3 - Form with Starting Point and Destination

    You may post an HTML form on your own Web page. Your users can complete and submit their origin and destination information to generate driving directions on the MapQuest site.

    Sample HTML: Example:

    MapQuest
    FROM:
    Address or Junction:
    City:
    Postcode:
    Country:
     
    TO:
    Address or Junction:
    City:
    Postcode:
    Country:




    For additional information contact Makis McDonald at LinkFree@MapQuest.com