carte : défilement désactivé
This commit is contained in:
parent
1c97cca283
commit
58d7b10a7f
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@
|
|||
<script type="text/javascript" src="/vendor/leaflet/leaflet.js"></script>
|
||||
<script type="text/javascript">
|
||||
var map = L.map('map').setView([46.725, 2.834], 6);
|
||||
map.scrollWheelZoom.disable();
|
||||
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
||||
maxZoom: 10,
|
||||
attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
|
||||
|
|
Loading…
Reference in a new issue