JavaScript APIs

JavaScript APIs to integrate interactive maps and advanced HERE features into your applications.

The HERE Maps API for JavaScript is a set of programming interfaces that enable developers to build Web applications with feature rich, interactive HERE Maps at their center. The API consists of libraries of classes and methods with which to implement the functionality of an interactive application.

See our JavaScript API description below or click on API explorer to experience the power of HERE JavaScript APIs

HERE Maps API for JavaScript 3.0 See documentation

The HERE Maps API for JavaScript 3.0 comes with a highly improved performance, enabled through leaner size and optimized API code, and is completely re-designed using the latest in browser and hardware technology. Additionally, it provides improved processing speed and faster load times while enabling application development across any desktop and mobile browser environment.

The HERE Maps API for JavaScript 3.0 allows for integration of a broad range of both consumer and enterprise features and functionalities into applications quickly, easily and at minimum cost. With the HERE Maps API for JavaScript 3.0 you can now create highly innovative, differentiated and customized experiences with feature rich, global and interactive HERE Maps at their center.

The HERE Maps API for JavaScript 3.0 exposes the functionality of a collection of RESTful Web Services in the following four core components.


The HERE Maps API for JavaScript 3.0 provides you with the world's highest quality and most up-to-date maps, as a canvas for your location applications. The Maps component fulfills all your query and data requests for raster map tiles or maps rendered as single images, including map overlays. Furthermore, if you need to make certain data more prominent and easier to use in your applications, the Maps component gives you the flexibility to choose from several mapping options such as basic, mobile, fleet and grayscale. The built-in support for hi-DPI (retina) displays makes it very suitable to development for mobile environments.


Geocoding is the process of obtaining geographic coordinates based on input consisting of a text address. In addition to the geographic coordinates, the Geocoder response contains complete and correctly spelled addresses. Note that it may return multiple sets of coordinates and addresses corresponding to them. Address input can be a qualified, structured address or a free-form single search text string with full or partial address information. Geocoder applies localized rules to analyze and identify the input and match it to map data index in order to provide results that make sense and offer value. Optionally, the user's current location or map view can be used to provide additional context. Geocoding results are ranked by relevance.

Reverse geocoding is the process of taking a set of geographic coordinates (latitude/longitude) obtained, for example, from the GPS on the user's device or via a click on the map, and providing a textual description of the position in return. Reverse geocoding answers the question, "Where am I?" It is used when tracking and managing mobile assets, for example vehicles, freight, or workforce.

The reverse geocoding results include the closest street addresses or area information, depending on the geographic coordinates, location and the underlying map data. The results are ranked by proximity to the input location or a single area.


The Directions component delivers best routes based on intelligent routing algorithms while taking into account rich sets of attributes embedded in the map. Through the Enterprise Router service you can get precise instructions on how to get to a destination, estimated time of arrival or optimized route tailored for different environments. This component leverages some of the highest quality navigable content available in the HERE Maps such as e.g. real-time traffic, historical traffic and truck data, to deliver the distinguished and well needed enterprise functionality.

In addition, the Consumer Router delivers routes which take into account  sets of attributes specific to pedestrian or consumer use cases. The Routing API includes pedestrian and public transit routing to enable development of more optimized consumer experiences.


Millions of sensors in major metropolitan areas around the world monitor traffic flows, providing smart flow and incident data that are accessible via the HERE Maps API for JavaScript 3.0. In addition, the service has the capability to produce routes that take into account real-time traffic data. Time-based routing can also be optimized using historical speed patterns.


The Places library allows you, as a developer, to enrich Web sites by providing a sophisticated search facility for users and a customizable means to display the results that include such information as place name, address, contact details, location map, rating, reviews, as well as related premium content. The library includes:

  • UI library – a set of user interface widgets with methods that support place data search, retrieval and display

  • Data library – a set of programming interfaces that support searches for place data and data retrieval, but are not associated with a user interface

The resources available to developers using the Places library include style sheets (CSS) that can be easily attached to a Web page. As a developer, you are free to customize the existing templates or to use your own.