Commit 94fd75e1 authored by Sp3r4z's avatar Sp3r4z
Browse files

[JS] Add max bounds

parent e819ede9
var theMap = L.map('map').setView([46.415,1.461], 6),
circle = null;
theMap.setMaxBounds(theMap.getBounds());
L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png', {
attribution: '© OpenStreetMap contributors',
maxZoom: 19,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment