@@ 18,6 18,8 @@
<script type="text/javascript" src="/static/js/jquery/jquery.flot.hover.js" nonce="{{ csp_nonce() }}"></script>
<script type="text/javascript" src="/static/js/jquery/jquery.flot.touch.js" nonce="{{ csp_nonce() }}"></script>
<script type="text/javascript" src="/static/js/moment-with-locales.min.js" nonce="{{ csp_nonce() }}"></script>
+ <script type="text/javascript" src="/static/js/leaflet-gesture-handling.min.js" nonce="{{ csp_nonce() }}"></script>
+ <link rel="stylesheet" href={{ url_for('static',filename='css/leaflet-gesture-handling.min.css') }}>
{% endblock %}
{% block content %}
@@ 164,7 166,8 @@
zoomDelta: .75,
zoomSnap: 0.5,
doubleClickZoom: true,
- scrollWheelZoom: false
+ scrollWheelZoom: false,
+ gestureHandling: true
});
class Tp{