-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Allan Gomes edited this page Dec 12, 2016
·
1 revision
Get All Routes
http://localhost:8080/routes/
Get Route Path/Polyline
http://localhost:8080/routes/{routeId}/path
Check run away and nearby point
http://localhost:8080/routes/vehicle/{vehicleId}/checkpoint?lat=-3.726636&lng=-38.508690
start
$ npm start
http://localhost:8001/
customize polyline | below example: Customized Profiles default and runned
angular.module('trix.routes').config(['polylineProvider', function (polylineConfig) {
polylineConfig
.options('default', {
color: 'blue',
weight: 10
})
.options('runned', {
color: 'red',
weight: 3
})
}])
Baseada na arquitetura do Leaflet, Extremamente fácil de mapear com a biblioteca