0.1.2 • Published 8 years ago

map-route v0.1.2

Weekly downloads
-
License
-
Repository
gitlab
Last release
8 years ago

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.

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago