here-map-wrapper

1.0.9 • Public • Published

code style: prettier JavaScript Style Guide

Here Map Wrapper API

Matching a GPS Trace

How to install

  $ npm install here-map-wrapper --save 
 
  or 
 
  $ yarn add here-map-wrapper

How to use

 
const config = {
  appId: 'your appId',
  appCode: 'your appCode'
}
 
 
const hereMap = new HereMapWrapper(config)
 
const locations = [
  {lat: 51.10177, lng: 0.39349},
  {lat: 51.10181, lng: 0.39335},
  {lat: 51.10255, lng: 0.39369}
]
 
hereMap.getPolyline(locations).then(function(polyline) {
 
  console.log(polyline)
 
  // polyline = 'ox{vHq|kA_@nB??{@_@??SI??OG??YMSK??[Q' 
 
})
 

Readme

Keywords

none

Package Sidebar

Install

npm i here-map-wrapper

Weekly Downloads

1

Version

1.0.9

License

MIT

Unpacked Size

11.8 kB

Total Files

8

Last publish

Collaborators

  • bossbossk20