diff --git a/public/javascripts/index.js b/public/javascripts/index.js index 5c874c9..62b5e30 100644 --- a/public/javascripts/index.js +++ b/public/javascripts/index.js @@ -9,6 +9,7 @@ var polygon = null; var drivers = []; var host_back = window.location.origin; var socket = io(host_back); + var drawControl = new L.Control.Draw({ edit: { featureGroup: featureGroup,