Open JavaScript Maps API


This is your source for information and resources available for the Open JavaScript Maps API (based on data from OpenStreetMap). Here you can explore our tutorials, documentation, downloads and samples built specifically with open data.



Open JavaScript Maps API Developer's Guide

Instructions, code samples, and demos all combined in easy-to-follow, easy-to-use documentation.


Discuss and collaborate with other developers who use the Open JavaScript Maps API.


Getting Started

Usage of the Open JavaScript Maps API requires an Application Key (AppKey). To get an AppKey, please make sure you're logged in, then visit the Application Keys page.


Open JavaScript Maps API Version 7.2

This is the latest stable version of the Open JavaScript Maps API relying solely on Open Data. Maps and routing information are both generated from OpenStreetMap (OSM), a project dedicated to creating and providing free geographic data. If you'd like to help contribute to OSM, check out the Beginner's Guide to OpenStreetMap.


Key highlights of this release include:


  • Geolocation control
  • Aerial and Hybrid tiles
  • Optimized routing
  • iOS and Android support
  • Custom Control and InfoWindow samples
  • Improved editable 'Try It Now' samples


Sample routing map generated from OpenStreetMap data:





In addition to displaying the MapQuest-OSM tiles, the Open JavaScript Maps API includes functionality for adding POIs, routing, searching, geocoding, and more! The below is by no means a complete list of features included. Please be sure to check out the Open JavaScript Maps API Developer's Guide to begin learning about the toolkit.


Nominatim SearchPOIs

Adding basic POIs, custom POIs, and InfoWindows with their various configuration options are made easy with the Open JavaScript Maps API. [Code Samples]



Like the Open Directions API, the Open JavaScript Maps API allows the developer to route between two or more locations using the shortest, fastest, bicycle or pedestrian options. Also available are the options to avoid certain road types, enable route dragging and ribbon customizations. [Code Samples]


Searching and Geocoding

Both searching and geocoding can be done through the power of Nominatim. Search for a single address or multiple addresses and add the results to the map, or easily plot locations using latitude/longitude (reverse geocoding). [Code Samples]



OpenStreetMap data is licensed under the Open Data Commons Open Database License (ODbL).