]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/directions/fossgis_valhalla.js
Derive popup location from lineseg
[rails.git] / app / assets / javascripts / index / directions / fossgis_valhalla.js
index c160e69b1959d80e6a245a8efe21db4b3483ba85..7228f488dbb3d02b4a81466117ebe532683bbc1e 100644 (file)
@@ -49,7 +49,6 @@
         const lineseg = line
           .slice(manoeuvre.begin_shape_index, manoeuvre.end_shape_index + 1);
         return [
-          lineseg[0],
           INSTR_MAP[manoeuvre.type],
           manoeuvre.instruction,
           manoeuvre.length * 1000,