Link to Maps - LinkFree


LinkFree Home
Link to Homepage
Link to Finding Places
Link to Maps
Link to Driving Directions

Business Solutions
For information about any of our fully integrated, customizable mapping solutions, please contact our sales team at sales@mapquest.com.
Free MapQuest Maps for Your Website
You have three options when linking directly to a MapQuest map.
  •  Option #1 - Link to a map results page
Simply use MapQuest.com to get your map results and click on "Link to this Page" near the top of the page. Then copy and paste the code provided into your website or send as an email.

  •  Option #2 - Create a link to a results page from scratch

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



Option #2 - Create a link to a results page from scratch
Link directly to a MapQuest map by creating a link for use on your website.

Here's how: Say you want users to get a map of your business address. In this example, we'll use a U.S. address: 555 17th St, Denver, CO 80202.

Note - All parameters must be passed in the order specified below. Additionally, do not pass empty parameters. If you are not using one of them, do not send the value as empty.


Step 1: Start with this base URL:

http://www.mapquest.com/maps

Step 2: Now add your address information using the parameters described in the chart below. Each parameter should be separated by an ampersand "&". Within each parameter, replace each space with a plus "+" symbol:

http://www.mapquest.com/maps?city=Denver &state=CO&address=555+17th+St&zipcode=80202&country=US


Step 3: Add the CID=lfmaplink key/value pair to the end of the URL (this is required by MapQuest):

http://www.mapquest.com/maps?city=Denver &state=CO&address=555+17th+St&zipcode=80202&country=US&CID=lfmaplink


Step 4: Add the html code around the URL to make the whole thing a link:

<A HREF="http://www.mapquest.com/maps? &city=Denver&state=CO&address=555+17th+St&zipcode=80202&country= US&CID=lfmaplink">Map This Location</A>


 Sample HTML:  Example:
(Map link in this example is coded as "555 17th St, Denver, CO 80202")


Help with Variable Name/Value Pairs
Use these parameters to help add your address information into the code example above.
Parameter
Description
Default
Required?
Max-Length
city City None No 80
state State or Province None No 2
address Street Address None No 80
zipcode ZIP or Postal Code None No 12
country Country
(Use ISO 2-digit codes.)
US No 2
title Overwrites Label
NOTE: When a title value is passed, the address, city, state, ZIP and country do not appear in the label.
None No 80
form Display Maps form with address pre-populated in form
instead of automatically displaying the map result page.
maps No N/A
CID Required by MapQuest lfmaplink Yes N/A


Note - All parameters must be passed in the order specified in the chart above. Additionally, do not pass empty parameters in the URL. If you are not using one of them, such as title, do not send the value as empty.