Guidesv3.2 API Referencev3.1 API Reference
Guides

Introduction to HERE Maps API for JavaScript

 HERE Maps API for JavaScript version 3.2

The HERE Maps API for JavaScript enables developers to create Web applications with feature-rich, interactive HERE Maps at their center. The API consists of libraries of classes and methods that implement interactive application functionality.

The Maps API for JavaScript supports the following use cases to developers of Web applications with maps as a core element:

  • Efficient map rendering - The API is designed to take advantage of WEBGL-capable environments, ensuring optimal map and map object rendering efficiency on mobile devices and desktops. Additionally, it includes support for high-DPI devices, enabling users to experience the best possible maps wherever they access them.
  • HERE map data - The API offers comprehensive access to world-class map data and map images. Users can choose from various view modes and customize their experience with a range of options, including three primary map types: vector, raster, and hybrid.
  • Geocoding and Search - The API offers comprehensive access to geocoding and reverse geocoding services, as well as places search functionality that covers tens of millions of locations worldwide. Additionally, it provides convenient autocomplete capabilities for improved user experience.
  • Routing - The API provides support for calculating and displaying routes, offering various customization options. These include public transportation route calculation, as well as specialized routes for vehicles like cars, scooters, electric vehicles (EVs), and more. In addition, the API supports sophisticated enterprise routing scenarios, including isoline routing and truck routing, which cater to complex business requirements.
  • Custom map objects - The API enables the creation of both interactive and non-interactive custom map objects. These objects can be represented by various visual elements, including markers with SVG, HTML, or bitmap images of geo shapes, such as polygons, polylines, circles, or rectangles.
  • Mouse and touch interaction - The API, through its events extension, enables mouse and touch interaction with the map, providing support for pan, zoom, and pinch-to-zoom capabilities across a wide range of devices.
  • Pre-built UI controls - The API provides pre-built, customizable user interface controls that enable users to seamlessly navigate the base map, smoothly zoom in and out, and display the current scale. Furthermore, info bubbles can be placed on the map, allowing for arbitrary HTML content and SVG images.

New features

  • Real time Traffic - The API supports the rendering of real-time traffic information, including traffic flow and traffic incidents, as well as the retrieval of additional details about these conditions.
  • Geofencing - The API enables you to determine whether a location or set of attributes intersects with a specific uploaded geofence.
  • Waypoint sequencing - The API establishes a connection with services that are enabling the development of solutions for complex problems such as the Traveling Salesman Problem.
  • Public transit - The API supports the rendering of transit lines and provides information retrieval capabilities for stations and schedules.
  • Advanced visualization capabilities - The API enables the generation of advanced visualizations, including choropleth and heat maps, using HERE (standard and premium) data, as well as customer-provided data. This feature facilitates the creation of business insights and immersive storytelling experiences through interactive mapping.

For information on:

  • Browser support, see Supported browsers and platforms.
  • HERE Maps API for JavaScript modules, see Available API modules.
  • How to quickly set up and start using the HERE Maps API for JavaScript , see Get started.
  • For the terms and conditions covering this documentation, see the HERE Documentation License.
  • The endpoint parameters and responses, see the API reference of the corresponding service.
  • Data privacy is of fundamental importance to HERE and our customers. We practice data minimization and don't collect data we don't need. And we promote pseudonymity for data subjects wherever a service does not require personal information to function. We employ privacy by design in services we develop. We strive to go beyond mere regulatory compliance and make privacy an integral part of our corporate culture. We believe that our approach to privacy is vital to earning and retaining the trust of our customers - and the bedrock of our future success as a data-driven location platform.

For more information on how data privacy is of fundamental importance to HERE and our customers, see the HERE Privacy Charter.