Fix route drag on mobile for Leaflet 1.6.0 (#285)
This commit is contained in:
parent
bbaad4f8b3
commit
b11c182a29
1 changed files with 3 additions and 1 deletions
|
|
@ -10,7 +10,9 @@ BR.Map = {
|
||||||
zoomControl: false, // add it manually so that we can translate it
|
zoomControl: false, // add it manually so that we can translate it
|
||||||
worldCopyJump: true,
|
worldCopyJump: true,
|
||||||
minZoom: 0,
|
minZoom: 0,
|
||||||
maxZoom: maxZoom
|
maxZoom: maxZoom,
|
||||||
|
// fix for route drag on mobile (#285), until next Leaflet version released (> 1.6.0)
|
||||||
|
tap: false
|
||||||
});
|
});
|
||||||
|
|
||||||
if (BR.Util.getResponsiveBreakpoint() >= '3md') {
|
if (BR.Util.getResponsiveBreakpoint() >= '3md') {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue