Skip to content

Repository files navigation

Build Status

Here Maps API for Node.js

Inspired by the Google Maps API wrapper for Node.js

This library implements the following Here Maps APIs.

Installation

npm install node-heremaps

What does it cover

Maps API REST SERVICES:

Usage

varHereMapsAPI=require('node-heremaps').default;// es5importHereMapsAPIfrom'node-heremaps';// es6varconfig={app_id: '<YOUR-APP-ID>',app_code: '<YOUR-APP-CODE>'};varhmAPI=newHereMapsAPI(config);// geocode APIvargeocodeParams={"searchtext": "121, Curtain Road, EC2A 3AD, London UK"};hmAPI.geocode(geocodeParams,function(err,result){console.log(result);});// matrix routing APIvarmatrixRoutingParams={start0: "25.6586716,-100.3583278",destination0: "25.6522234,-100.2942806",mode: "fastest;car;traffic:enabled;"// this mode is set by default};hmAPI.matrixRouting(matrixRoutingParams,function(err,result){console.log(result);});

Future Features & Roadmap

I'm planning on covering most of the Here Maps REST API any help is appreciated!

About

Here Maps API wrapper for Node.js

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages