Enable some more eslint rules from iD rules
This commit is contained in:
parent
07aa5ade67
commit
87127d41e9
8 changed files with 48 additions and 18 deletions
|
@ -99,7 +99,7 @@ function FOSSGISEngine(id, vehicleType) {
|
|||
var template = INSTRUCTION_TEMPLATE[maneuver_id];
|
||||
|
||||
// convert lat,lng pairs to LatLng objects
|
||||
var step_geometry = L.PolylineUtil.decode(step.geometry, { precision: 5 }).map(function(a) { return L.latLng(a); }) ;
|
||||
var step_geometry = L.PolylineUtil.decode(step.geometry, { precision: 5 }).map(function(a) { return L.latLng(a); });
|
||||
// append step_geometry on line
|
||||
Array.prototype.push.apply(line, step_geometry);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue