Add time and energy to messages

This commit is contained in:
Norbert Renner 2022-04-11 18:37:40 +02:00
parent 5dd801d714
commit 42d8b27266

View file

@ -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(