]> git.openstreetmap.org Git - rails.git/blobdiff - app/assets/javascripts/index/contextmenu.js
Tuen on turn restriction support for graphhopper
[rails.git] / app / assets / javascripts / index / contextmenu.js
index e3e30ce6bbe859a643f2064bfea6c90c5b4a461a..fdde8dec470d7e487f2f0cf05ee81661c61f67d3 100644 (file)
@@ -1,4 +1,8 @@
+//= require querystring
+
 OSM.initializeContextMenu = function (map) {
 OSM.initializeContextMenu = function (map) {
+  var querystring = require("querystring-component");
+
   map.contextmenu.addItem({
     text: I18n.t("javascripts.context.directions_from"),
     callback: function directionsFromHere(e) {
   map.contextmenu.addItem({
     text: I18n.t("javascripts.context.directions_from"),
     callback: function directionsFromHere(e) {