Skip to content - web map rendering engine
Branch: master
Clone or download
Astrak HARP-6274: Support touch controls in globe. (#616)
Signed-off-by: Adrien Coffre <>
Latest commit 99e530a Jul 19, 2019 Build Status is an experimental and work in progress open-source 3D map rendering engine. site


You can use this engine to:

  • Develop visually appealing 3D maps
  • Create highly animated and dynamic map visualization with WebGL, using the popular three.js library.
  • Create themeable maps, with themes that can change on the fly.
  • Create a smooth map experience with highly performant map rendering and decoding. Web workers parallelize the CPU intensive tasks, for optimal responsiveness.
  • Design your maps modularly, where you can swap out modules and data providers as required.

With that in mind, we have included some modules that let's you get started with some simple web applications that can display a map using our default style. You can get results like the one shown below:

New York City rendered with our default style

Getting started with

You can consume the api with two different methods:

  • linking a simple bundle as a <script> tag in your html
  • installing a set of node modules from npm

If you want to learn more about the applications you can create, please check the Getting Started Guide.

Simple bundle

Add three.js and to your html and create a canvas with an id map:

         body, html { border: 0; margin: 0; padding: 0 }
         #map { height: 100vh; width: 100vw; }
      <script src=""></script>
      <script src=""></script>
      <canvas id="map"></canvas>
      <script src="index.js"></script>

Initialize the map:

const map = new harp.MapView({
   canvas: document.getElementById('map'),
   theme: "",
const mapControls = new harp.MapControls(map);
const omvDataSource = new harp.OmvDataSource({
   baseUrl: "",
   apiFormat: harp.APIFormat.XYZOMV,
   styleSetName: "tilezen",
   authenticationCode: 'YOUR-XYZ-TOKEN',

Node modules

Generate a simple app using the package generator:

mkdir 3dmap-example
cd 3dmap-example
npx -p yo -p @here/ yo @here/

About This Repository

This repository is a monorepo containing the core components of, organized in a yarn workspace.

All components can be used stand-alone and are in the @here subdirectory.


In Node.js

All modules are installable via yarn (or npm):

yarn add @here/harp-mapview
npm install @here/harp-mapview

In Browser

Since consists of a set of modules, there are no ready-made bundles available. Take a look at the examples on information on how to use tools like webpack to create a bundle for the browser.



  • Node.js - Please see for installation instructions
  • Yarn - Please see for installation instructions.

Download dependencies


yarn install

to download and install all required packages and set up the yarn workspace.

Launch development server for examples


yarn start

To launch webpack-dev-server. Open http://localhost:8080/ in your favorite browser.

Launch development server for unit tests


yarn start-tests

Open http://localhost:8080/ in your favorite browser to run the tests.

Run unit tests in Node.js environment


yarn test

Run unit & integration tests in Browser environment


yarn run start-tests
>: Project is running at http://localhost:8080/

Note the URL and invoke tests using mocha-webdriver-runner. Example:

npx mocha-webdriver-runner http://localhost:8081/ --chrome
npx mocha-webdriver-runner http://localhost:8081/ --headless-firefox

Generate documentation


yarn run typedoc

It will output all documentation under /dist/doc.


Copyright (C) 2018-2019 HERE Europe B.V.

See the LICENSE file in the root of this project for license details about using

In addition, please note that the fonts are under a different set of licenses.

For other use cases not listed in the license terms, please contact us.

You can’t perform that action at this time.