map-route
v0.1.2
Published
Проект NPM пакета для работы с маршрутом движения
Downloads
3
Readme
map-route
Проект 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.