forked from gravitystorm/openstreetmap-carto
-
Notifications
You must be signed in to change notification settings - Fork 2
Leaflet
Jonathan Beliën edited this page Dec 11, 2018
·
3 revisions
Click here to see it working.
var mymap = L.map('map').setView([0, 0], 2);
L.tileLayer("https://tile.openstreetmap.be/osmbe/{z}/{x}/{y}.png", {
attribution: "© <a href=\"http://openstreetmap.org\">OpenStreetMap</a> contributors, Tiles courtesy of <a href=\"https://geo6.be/\">GEO-6</a>",
maxZoom: 18,
}).addTo(mymap);
Just replace osmbe
by osmbe-fr
or osmbe-nl
to render localized baselayer.