2021-05-20 18:48:17 +00:00
|
|
|
export const MAP_CONFIG = {
|
|
|
|
DEFAULT_PROVIDER: "OpenStreetMapOrg",
|
|
|
|
BASEMAPS: [
|
|
|
|
{
|
|
|
|
name: "OpenStreetMapOrg",
|
|
|
|
maxZoom: 19,
|
|
|
|
layer: "//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
|
|
|
|
subdomains: "abc",
|
|
|
|
attribution:
|
|
|
|
'© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, Tiles style by <a href="https://www.hotosm.org/" target="_blank">Humanitarian OpenStreetMap Team</a> hosted by <a href="https://openstreetmap.fr/" target="_blank">OpenStreetMap France</a>'
|
|
|
|
},
|
|
|
|
// {
|
|
|
|
// name: "OpenStreetMapFRHot",
|
|
|
|
// maxZoom: 19,
|
|
|
|
// layer: "//{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png",
|
|
|
|
// subdomains: "abc",
|
|
|
|
// attribution:
|
|
|
|
// '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, Tiles style by <a href="https://www.hotosm.org/" target="_blank">Humanitarian OpenStreetMap Team</a> hosted by <a href="https://openstreetmap.fr/" target="_blank">OpenStreetMap France</a>'
|
|
|
|
// },
|
|
|
|
// {
|
|
|
|
// name: "OpenStreetMapCH",
|
|
|
|
// maxZoom: 18,
|
|
|
|
// layer: "//tile.osm.ch/switzerland/{z}/{x}/{y}.png",
|
|
|
|
// subdomains: "abc",
|
|
|
|
// attribution:
|
|
|
|
// '© <a href="© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
|
|
|
|
// bounds: [[45, 5], [48, 11]]
|
|
|
|
// },
|
|
|
|
// {
|
|
|
|
// name: "OpenStreetMapDE",
|
|
|
|
// maxZoom: 18,
|
|
|
|
// layer: "//{s}.tile.openstreetmap.de/tiles/osmde/{z}/{x}/{y}.png",
|
|
|
|
// subdomains: "abc",
|
|
|
|
// attribution:
|
|
|
|
// '© <a href="© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
|
|
|
|
// },
|
|
|
|
// {
|
|
|
|
// name: "OpenStreetMapBZH",
|
|
|
|
// maxZoom: 18,
|
|
|
|
// layer: "//tile.openstreetmap.bzh/br/{z}/{x}/{y}.png",
|
|
|
|
// subdomains: "",
|
|
|
|
// attribution:
|
|
|
|
// '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, Tiles courtesy of <a href="http://www.openstreetmap.bzh/" target="_blank">Breton OpenStreetMap Team</a>',
|
|
|
|
// bounds: [[46.2, -5.5], [50, 0.7]]
|
|
|
|
// },
|
|
|
|
{
|
|
|
|
name: "OpenTopoMap",
|
2021-05-25 08:43:11 +00:00
|
|
|
maxZoom: 19,
|
2021-05-20 18:48:17 +00:00
|
|
|
layer: "//{s}.opentopomap.org/{z}/{x}/{y}.png",
|
|
|
|
subdomains: "abc",
|
|
|
|
attribution: "© OpenTopoMap"
|
|
|
|
},
|
2021-05-22 11:44:13 +00:00
|
|
|
{
|
2021-05-25 08:43:11 +00:00
|
|
|
name: "Cyclosm - Belgique",
|
|
|
|
maxZoom: 19,
|
2021-05-22 11:44:13 +00:00
|
|
|
layer: "//{s}.tiles.champs-libres.be/cyclosm/{z}/{x}/{y}.png",
|
|
|
|
subdomains: "abc",
|
|
|
|
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors. Map style by Cyclosm. Tiles by Champs-Libres.'
|
|
|
|
},
|
2021-05-22 19:17:27 +00:00
|
|
|
{
|
2021-05-25 08:43:11 +00:00
|
|
|
name: "Imagerie aérienne Wallonie",
|
|
|
|
maxZoom: 20,
|
|
|
|
layer: "//geoservices.wallonie.be/arcgis/services/IMAGERIE/ORTHO_LAST/MapServer/WMSServer?",
|
2021-05-22 19:17:27 +00:00
|
|
|
layers: '0',
|
|
|
|
wms: true,
|
2021-05-25 08:43:11 +00:00
|
|
|
attribution: '© SPW'
|
2021-05-22 19:17:27 +00:00
|
|
|
},
|
2021-05-20 18:48:17 +00:00
|
|
|
{
|
2021-05-25 08:43:11 +00:00
|
|
|
name: "Plan de secteur",
|
|
|
|
minZoom: 12,
|
|
|
|
maxZoom: 20,
|
|
|
|
layer: "//geoservices.wallonie.be/arcgis/services/AMENAGEMENT_TERRITOIRE/PDS/MapServer/WMSServer?",
|
|
|
|
layers: '2',
|
|
|
|
wms: true,
|
|
|
|
attribution: '© SPW'
|
2021-05-20 18:48:17 +00:00
|
|
|
},
|
|
|
|
],
|
|
|
|
CENTER: [46.52863469527167, 2.43896484375],
|
|
|
|
ZOOM_LEVEL: 6,
|
|
|
|
ZOOM_LEVEL_RELEVE: 15,
|
|
|
|
NEW_OBS_POINTER: "assets/pointer-blue2.png",
|
|
|
|
OBS_POINTER: "assets/pointer-green.png",
|
|
|
|
LOCATE_CONTROL_TITLE: {
|
|
|
|
'fr':'Me localiser',
|
|
|
|
'en':'Show me where i am'
|
|
|
|
}
|
|
|
|
}
|