map-route

0.1.2 • Public • Published

map-route Build Status

Проект NPM пакета для работы с маршрутом движения

Getting Started

Install the module with: npm install map-route

var map_route = require('map-route');
var test_route = new new map_route.MapRoute(route); //route - FeatureCollection
 
var testVector = {
  "startPoint": {
    "lat":30.306279659271237,
    "long": 59.90838326470706
  },
  "endPoint": {
    "lat":30.307781696319577,
    "long": 59.90838326470706
  }
};
 
var nearestSegment = mapRoute.getNearestSegment(testVector);
 

Running Tests

Install the development dependencies:

$ npm install

Then run the tests:

$ npm test

Documentation

(Coming soon)

Examples

(Coming soon)

Release History

(Nothing yet)

License

Copyright (c) 2016 Sergey Stasenco
Licensed under the MIT license.

Readme

Keywords

none

Package Sidebar

Install

npm i map-route

Weekly Downloads

0

Version

0.1.2

License

none

Last publish

Collaborators

  • sstasenco