Smooth Scroll Plugin

pull/476/head
Luke Prior 2021-05-01 21:19:58 +10:00 zatwierdzone przez GitHub
rodzic b3c4cb1ad6
commit 447542d88a
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -29,6 +29,7 @@
<script src="{{ url_for('static', filename='js/utils.js') }}"></script>
<script src="{{ url_for('static', filename='js/autorxapi.js') }}"></script>
<script src="{{ url_for('static', filename='js/tabulator.min.js') }}"></script>
<script src="{{ url_for('static', filename='js/SmoothWheelZoom.js') }}"></script>
<script>
var autorx_config = {
@ -226,7 +227,7 @@
});
// Create map object.
mymap = L.map('mapid').setView([autorx_config.station_lat, autorx_config.station_lon], 8);
mymap = L.map('mapid', {scrollWheelZoom: false, smoothWheelZoom: true, smoothSensitivity: 1}).setView([autorx_config.station_lat, autorx_config.station_lon], 8);
mymap.addControl(new L.Control.Fullscreen());
if (mapTheme != 'DarkMatter' && mapTheme != 'WorldImagery') {
home_marker = L.marker([autorx_config.station_lat, autorx_config.station_lon, autorx_config.alt],