Why Use Maps API for JavaScript

The Maps API for JavaScript offers the following high level features and benefits to developers of Web applications with maps as a core element:

Main features of the HERE Maps API for JavaScript
Feature Description
Efficient map rendering The API is built for WebGL and HTML5-capable environments to maximize map and map object rendering efficiency on mobile devices and desktops. It also includes support for high-DPI devices to show the best maps wherever possible.
HERE Maps map data The API provides full access to world-leading map data and map images, with a choice of view modes and customization options, including three main map types: map, terrain and hybrid.
Geocoding The API provides full access to geocoding and reverse geocoding services.
Routing The API supports route calculation and display, with a variety of customization options such as public transport routing and others.
Enterprise routing The API supports advanced enterprise routing use cases such as isoline routing or truck routing.
Places Places API allows application developers to build POI and Address search experiences, giving users access to rich information about tens of millions of places around the globe.
Custom map objects The API supports the creation of both interactive and non-interactive map objects:
  • markers with SVG, HTML or bitmap images
  • geo shapes, including polygons, polylines, circles and rectangles
Mouse and touch interaction The API (via an events extension) supports mouse and touch interaction with the map, including pan, zoom and pinch-to-zoom on a broad range of devices.
Pre-built UI controls The API offers pre-built, customizable UI controls that allow users to change the base map, zoom in and out smoothly, and display the current map scale. In addition, info bubbles with arbitrary HTML content and SVG images can be placed on the map.

Browser Support

The Maps API is built specifically for modern browsers that support WebGL and HTML5 on desktop as well as mobile environments. Although it is optimized for certain browsers and environments, we do our utmost to ensure the API can be used on a wide variety of platforms and browsers.

The list below shows support of different browsers and environments by the Maps API (with and without optimizations):

Browser support in HERE Maps API for JavaScript
Support Level Browser Environment
Supported with optimizations: Edge 17+
Firefox (latest)
Google Chrome (latest)
Apple Safari 11+
desktop
desktop
desktop, Android 7.0+ on mobile/tablet (provided that the device supports hardware acceleration)
desktop, iOS 11+ on mobile/tablet
Legacy support1: Internet Explorer 9, 10, 11
iOS WebView
desktop
iOS 11+
Not supported: Opera
Internet Explorer < 9
  1. Legacy support includes HTML5 canvas rendering and excludes any advanced WebGL rendering features.

HERE Maps API for JavaScript Modules

The Maps API for JavaScript is organized into a number of modules. Developers can therefore use the API efficiently by selecting only the modules which their applications require.

The table below outlines the selectable modules of the Maps API for JavaScript.

Modules of the HERE Maps API for JavaScript
Module name Module dependencies Description
core (mapsjs-core.js) none This module contains the core functionality for rendering maps, map layers and map objects as well as utilities used in other modules. This module forms the core of the API and is a dependency of all other modules.
core-legacy
(mapsjs-core-legacy.js)
core This module contains the core module functionality that ensures support of the legacy browsers as well as it offers limited backwards compatability with the Maps API for JavaScript version 3.0.
service
(mapsjs-service.js)
core This module supports map tile retrieval, routing, geocoding, etc.
service-legacy
(mapsjs-service-legacy.js)
core, service This module contains the service module functionality that ensures support of the legacy browsers as well as it offers limited backwards compatability with the Maps API for JavaScript version 3.0.
mapevents
(mapsjs-mapevents.js)
core This module provides functionality to enable user-interaction with the map, including map panning and pinch-to-zoom. The module normalizes various browser event systems (mouse events, touch events, pointer events) to offer unified events that can be used across desktop and mobile environments.
ui
(mapsjs-ui.js + mapsjs-ui.css)
core This module provides a set of pre-built cross-browser UI components (such as base map settings, zoom control, map scale) that can be added to the map. It also provides functionality to display location-specific info bubbles with arbitrary HTML content on the map.
clustering
(mapsjs-clustering.js)
core This module provides functionality for marker clustering.
data (mapsjs-data.js) core This module provides set of classes for display of KML and GeoJSON data.

results matching ""

    No results matching ""