kopia lustrzana https://github.com/projecthorus/radiosonde_auto_rx
Smooth Scroll Plugin
rodzic
b3c4cb1ad6
commit
447542d88a
|
|
@ -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],
|
||||
|
|
|
|||
Ładowanie…
Reference in New Issue