Skip to content

Commit

Permalink
add osmbe archives & ngi mapindex
Browse files Browse the repository at this point in the history
  • Loading branch information
joostschouppe authored Apr 24, 2024
1 parent 5084f6f commit fdc80ab
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 5 deletions.
22 changes: 18 additions & 4 deletions js/historischekaart/baselayers.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,45 @@ function getBaselayers() {
"OSM Belgium": L.tileLayer(
"https://tile.osm.be/osmbe/{z}/{x}/{y}.png",
{
attribution: '&copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, Tiles courtesy of <a href="https://geo6.be/">GEO-6</a>',
attribution: '&copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, Tiles courtesy of <a href="https://champs-libres.coop/">Champs-Libres</a>',
maxZoom: 18
}
),
"OSM Belgium (FR)": L.tileLayer(
"https://tile.osm.be/osmbe-fr/{z}/{x}/{y}.png",
{
attribution: '&copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, Tiles courtesy of <a href="https://geo6.be/">GEO-6</a>',
attribution: '&copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, Tiles courtesy of <a href="https://champs-libres.coop/">Champs-Libres</a>',
maxZoom: 18
}
),
"OSM Belgium (NL)": L.tileLayer(
"https://tile.osm.be/osmbe-nl/{z}/{x}/{y}.png",
{
attribution: '&copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, Tiles courtesy of <a href="https://geo6.be/">GEO-6</a>',
attribution: '&copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, Tiles courtesy of <a href="https://champs-libres.coop/">Champs-Libres</a>',
maxZoom: 18
}
),
"OSM Belgium (Archive - 23/03/2019)": L.tileLayer(
"OSM Belgium Archive - March 2019": L.tileLayer(
"https://tile.osm.be/archive/20190323/{z}/{x}/{y}.png",
{
attribution: '&copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, Tiles courtesy of <a href="https://geo6.be/">GEO-6</a>',
maxZoom: 18
}
),
"OSM Belgium Archive - November 2020": L.tileLayer(
"https://tile.osm.be/archive/202011/{z}/{x}/{y}.png",
{
attribution: '&copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, Tiles courtesy of <a href="https://geo6.be/">GEO-6</a>',
maxZoom: 18
}
),
"OSM Belgium Archive - January 2022": L.tileLayer(
"https://tile.osm.be/archive/202201/{z}/{x}/{y}.png",
{
attribution: '&copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, Tiles courtesy of <a href="https://geo6.be/">GEO-6</a>',
maxZoom: 18
}
),
"Luchtfoto (VL)": L.tileLayer(
"https://geo.api.vlaanderen.be/OFW/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=ofw&STYLE=&FORMAT=image/png&tileMatrixSet=GoogleMapsVL&tileMatrix={z}&tileRow={y}&tileCol={x}",
{
Expand Down
11 changes: 10 additions & 1 deletion js/historischekaart/layers.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,15 @@ function getLayers() {
transparent: true,
attribution: "© Digitaal Vlaanderen"
}
)
),
"NGI Mapindex": L.tileLayer.wms(
"https://wms.ngi.be/inspire/mapindex/service?",
{
format: "image/png",
layers: "MapIndex",
transparent: true,
attribution: "© NGI/IGN"
}
),
};
}

0 comments on commit fdc80ab

Please sign in to comment.