Skip to content
This repository has been archived by the owner on Apr 24, 2021. It is now read-only.

heremaps/map-linkbuilder-app

Repository files navigation

HERE Link Builder

Build Status

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

Synopsis

Share.here.com URLs allow you to share HERE Objects - route, address or a POI (Point of Interest). The share.here.com link will be consumed by the share.here.com service and your user will be redirected to an appropriate application, depending on their device. The redirection logic is handled server-side.

Link Builder is a simple interface to create valid share.here.com URLs and code snippets.

You can use the output in your application to provide location related information to your users cross-platform - web, Android and iOS.

API Reference

For extended documentation see here.

Installation

Make sure you have already installed the latest version of Node.js (at least version 6.10.3) and NPM (Node Package Manager) and then run:

npm install

Running the server

npm run server

A static http server will be started on port 5000, i.e. http://localhost:5000

Tests

Make sure your server is running and execute

npm test

NOTE: Tests rely on Firefox 47+. As described on NPM, you need to download Mozilla's geckodriver in order to run them.

Other helpful commands

Lint:

npm run lint

Credits