diff --git a/js/plugin/Routing.js b/js/plugin/Routing.js index 1499f8e..a19ce19 100644 --- a/js/plugin/Routing.js +++ b/js/plugin/Routing.js @@ -601,8 +601,24 @@ BR.Routing = L.Routing.extend({ 'InitialCost', 'WayTags', 'NodeTags', + 'Time', + 'Energy', + ], + [ + latLng2.lng * 1000000, + latLng2.lat * 1000000, + null, + distance, + null, + null, + null, + null, + null, + '', + '', + null, + null, ], - [latLng2.lng * 1000000, latLng2.lat * 1000000, null, distance, null, null, null, null, null, '', ''], ], }; layer.feature = turf.lineString(