|
|
 |
Link to MapQuest maps
(Document #20)
You have two options when linking directly to a MapQuest map. | | | | | Option # 1 is to have a static link to a specific map. | | | Option # 2 is to include an input form on your page that will allow your users to generate maps dynamically based on information they provide. | | | | Instructions for both types of links are listed below.
By linking to MapQuest you agree to comply with our terms and conditions.
You may use A HREF="URL" statements to link to specific maps on the MapQuest Web site. Information specific to the map is passed through the URL by appending name/value pairs separated by the ampersand character. There can be no spaces in the HREF statement. The plus sign (+) should be used instead.
Example HREF: Base URL: http://www.mapquest.com/maps/map.adp?
Variable name/value pairs:
Parameter | Description | Default | Required? | | 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 | | address | Street Address | None | No | | city | City | None | No | | state | State or Province | None | No | | zipcode | ZIP or Postal Code | None | No | | country | Country (Use ISO 2-digit codes.) | US | No | | style | Map Color 0=Gray Scale 1=Neutrals 2=Yellows 3=European Style | 1 | No | | CID | Required by MapQuest | lfmaplink | Yes |
The following combinations of location information may be used to map locations in the US or Canada:
| | Address, City, State/Province, ZIP/Postal Code | | | Address, City, State/Province | | | City, State/Province | | | ZIP/Postal Code |
You may post an html form on your web page. Your users can complete and submit the form to generate a map of their choosing on the MapQuest site.
| Sample HTML: | Example: | | |
|
|