JavaScript API Developer Guide
- Version
- 6.0-p4
- Last Updated
- October 29th, 2009
Table of Contents
- Change Log: List of changes since last update.
- Getting Started: Before diving into the code, look through this section.
- Feedback
- Copyrights, Trademarks, and Legal Information
Change Log
-
Beta Release p3 - 2009-10-29
- Updated map styles (Sample)
- Added Overview Map control (Sample)
- Added custom poi image support (Sample)
- Trimmed down route, optimizedRoute, and dragRoute call URL length. This will allow you to add more route stop with the routing functions in IE6 & IE7 without using a proxy.
- Updated user guide style.
- Added route stop icons up to 50 (A - WW).
-
Beta Release p3 - 2009-09-17
- Added the callback methods to the MQA.TileMap.addRoute and MQA.TileMap.addOptimized route functions that get executed after the route request has completed and gets passed the raw data (use for ambiguities, narratives, error inspection); (Sample)
- Added functionality to allow routes to be requested without a map.
- Added support for using compression for route shape to minimize download times for routes.
- Added option to avoid crossing country boundaries with routing options
- Added route matrix support
- Added MQA.TileMap.removeRoute function when to remove routes added by MQA.TileMap.addRoute and MQA.TileMap.addOptimizedRoute.
- Added overlay support for line, rectangles, polygons, ellipses, circles and images. (Samples)
- Added iPhone support for dragging and zooming. (Sample)
-
Beta Release p2 - 2009-08-17
- Added route options for tailoring a route ( Sample )
- Added simplified mechanism to add routes ( Sample )
- Added ability to toggle route dragging feature and changed the default to be off ( Sample )
- Added basic mouse wheel zoom in/out support (Sample)
-
Beta Release p1 - 2009-08-07
- Introduction of the new modular API
- Developer guide with inline samples of current functionality:
- Basic map controls for zooming and map type change
- Traffic Control
- POIs and Info windows
- Routing and draggable routes (without need for server proxy)
- Draft of API Reference documentation
Getting Started
Application Key
Important: Usage of the MapQuest Platform: JavaScript API requires an application key. If you do not already have one, please visit the MapQuest Developer Netowrk and sign-up for one.
- Free Edition Key
- Used for production versions of the API
- Can be used in any publicly available production or development site
- Cannot be used with versions of the API which are still in beta
- Developer Edition
- Used for versions of the API which are still in beta
- Used by Enterprise Edition customers for development
- Cannot be used in a production environment
Assumptions
- You understand the basics of the JavaScript language.
- You understand the limitations of DOCTYPEs and browser compatibility modes.
Official Browser Support
These browsers are officially supported, however most current browsers using the Webkit or Gecko rendering engine should function properly.
- Windows
- Internet Explorer 6.x and 7.x
- Mozilla Firefox 2.x and 3.x
- Internet Explorer 8.x ( only with IE7 Compatibility turned on, full support coming soon )
- Mac OS X
- Safari 3.x and 3.x
- Mozilla Firefox 2.x and 3.x
Feedback
Remember - this IS beta - a REAL beta - we expect you all to find things that don't work, and REALLY, REALLY want you to tell us about them in the Beta Forum inside the Mapquest Developer Network>.
Or send us your comments, questions and feedback using our Contact Us form.
Copyrights, Trademarks, and Legal Information
Copyright ©2009 MapQuest, Inc. All rights reserved. The use of this documentation and the product with which it is provided are governed by the product license agreement and applicable intellectual property laws. No part of the product or this documentation may be reproduced in any form by any means without prior written authorization from MapQuest, Inc. MapQuest may revise this documentation from time to time without notice.
THIS DOCUMENTATION IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. IN NO EVENT SHALL MAPQUEST, ITS PARENT OR ITS LICENSORS BE LIABLE FOR INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY KIND ARISING FROM ANY ERROR IN THIS DOCUMENTATION, INCLUDING WITHOUT LIMITATION ANY LOSS OR INTERRUPTION OF BUSINESS, PROFITS, USE, OR DATA.
The downloading, exporting, or reexporting of MapQuest products or any underlying information or technology must be in full compliance with all United States and other applicable laws and regulations. Any provision of a MapQuest product or documentation to the U.S. government is with restricted rights as described in the license agreement for that product.
MapQuest, MapQuest.com, the MapQuest logo, Advantage, Site Advantage, Advantage API, and Advantage Enterprise are trademarks of MapQuest, Inc. or its parent AOL LLC. Other product and brand names are trademarks of their respective owners.
Companies, names, and data used in examples are fictitious unless otherwise noted. MapQuest may have patents or pending patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document. The furnishing of this document does not give you license to these patents, trademarks, copyrights, or other intellectual property except as expressly provided in any written license agreement from MapQuest. This document and the software described in it are copyrighted, with all rights reserved.
