Replace Leaflet.draw with Leaflet.Editable, closes #100

This commit is contained in:
Norbert Renner 2018-01-12 15:38:47 +01:00
parent 76e2618bbf
commit 69e53233ba
7 changed files with 429 additions and 59 deletions

View file

@ -13,12 +13,13 @@
return result;
}()),
touchScreenDetectable = touchScreen !== null;
touchScreenDetectable = touchScreen !== null,
touch = touchScreenDetectable ? touchScreen : L.Browser.touch;
BR.Browser = {
touchScreen: touchScreen,
touchScreenDetectable: touchScreenDetectable
touchScreenDetectable: touchScreenDetectable,
touch: touch
};
}());