No, leaflet.js. Not every new chrome-browser is touch enabled.
This commit is contained in:
parent
343a3983eb
commit
1664458dd9
1 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
(function () {
|
||||||
|
if(L.Browser.chrome && !('ontouchstart' in window)) {
|
||||||
|
L.Browser.pointer = false;
|
||||||
|
L.Browser.touch = false;
|
||||||
|
}
|
||||||
|
}());
|
||||||
|
|
||||||
editor = {
|
editor = {
|
||||||
init: function () {
|
init: function () {
|
||||||
// Init Map
|
// Init Map
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue