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 #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>
Help with Variable Name/Value Pairs Use these parameters to help add your address information into the code example above.
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. |