123 lines
4.6 KiB
PHP
123 lines
4.6 KiB
PHP
<?php
|
|
// list of base tile and overlay servers to be included in normal, public file, public folder and comparison pages
|
|
$baseTileServers = [
|
|
//Array(
|
|
// 'name' => '',
|
|
// 'type' => 'tile|overlay',
|
|
// 'url' => '',
|
|
// 'attribution' => '',
|
|
// 'minzoom' => '',
|
|
// 'maxzoom' => '',
|
|
// 'opacity' => '0-1',
|
|
// 'transparent' => 'true|false'
|
|
//),
|
|
//Array(
|
|
// 'name' => 'tilewms',
|
|
// 'type' => 'tilewms|overlaywms',
|
|
// 'url' => '',
|
|
// 'layers' => '',
|
|
// 'version' => '',
|
|
// 'attribution' => '',
|
|
// 'format' => '',
|
|
// 'opacity' => '0-1',
|
|
// 'transparent' => 'true|false'
|
|
//),
|
|
Array(
|
|
'name' => 'OpenStreetMap',
|
|
'type' => 'tile',
|
|
'url' => 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
|
|
'attribution' => 'Map data © 2013 <a href="http://openstreetmap.org">OpenStreetMap</a> contributors',
|
|
'minzoom' => '1',
|
|
'maxzoom' => '19'
|
|
),
|
|
Array(
|
|
'name' => 'OpenCycleMap',
|
|
'type' => 'tile',
|
|
'url' => 'https://{s}.tile.thunderforest.com/cycle/{z}/{x}/{y}.png',
|
|
'attribution' => '© <a href="http://www.opencyclemap.org">OpenCycleMap</a>, © <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>',
|
|
'minzoom' => '1',
|
|
'maxzoom' => '18'
|
|
),
|
|
Array(
|
|
'name' => 'OpenStreetMap Transport',
|
|
'type' => 'tile',
|
|
'url' => 'https://{s}.tile.thunderforest.com/transport/{z}/{x}/{y}.png',
|
|
'attribution' => 'Map data © 2013 <a href="http://openstreetmap.org">OpenStreetMap</a> contributors',
|
|
'minzoom' => '1',
|
|
'maxzoom' => '18'
|
|
),
|
|
Array(
|
|
'name' => 'ESRI Aerial',
|
|
'type' => 'tile',
|
|
'url' => 'https://server.arcgisonline.com/ArcGIS/rest/services' .
|
|
'/World_Imagery/MapServer/tile/{z}/{y}/{x}',
|
|
'attribution' => 'Tiles © Esri — Source: Esri, i-cubed, ' .
|
|
'USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the' .
|
|
' GIS User Community',
|
|
'minzoom' => '1',
|
|
'maxzoom' => '18'
|
|
),
|
|
Array(
|
|
'name' => 'ESRI Topo with relief',
|
|
'type' => 'tile',
|
|
'url' => 'https://server.arcgisonline.com/ArcGIS/rest/services/World' .
|
|
'_Topo_Map/MapServer/tile/{z}/{y}/{x}',
|
|
'attribution' => 'Tiles © Esri — Esri, DeLorme, NAVTEQ, ' .
|
|
'TomTom, Intermap, iPC, USGS, FAO, NPS, NRCAN, GeoBase, Kadaster NL, Ord' .
|
|
'nance Survey, Esri Japan, METI, Esri China (Hong Kong), and the GIS User' .
|
|
' Community',
|
|
'minzoom' => '1',
|
|
'maxzoom' => '18'
|
|
),
|
|
Array(
|
|
'name' => 'Dark',
|
|
'type' => 'tile',
|
|
'url' => 'http://a.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}.png',
|
|
'attribution' => '© Map tiles by CartoDB, under CC BY 3.0. Data by' .
|
|
' OpenStreetMap, under ODbL.',
|
|
'minzoom' => '1',
|
|
'maxzoom' => '18'
|
|
),
|
|
Array(
|
|
'name' => 'Toner',
|
|
'type' => 'tile|overlay',
|
|
'url' => 'http://{s}.tile.stamen.com/toner/{z}/{x}/{y}.jpg',
|
|
'attribution' => '<a href="http://leafletjs.com" title="A JS library' .
|
|
' for interactive maps">Leaflet</a> | © Map tiles by <a href="http://stamen' .
|
|
'.com">Stamen Design</a>, under <a href="http://creativecommons.org/license' .
|
|
's/by/3.0">CC BY 3.0</a>, Data by <a href="http://openstreetmap.org">OpenSt' .
|
|
'reetMap</a>, under <a href="http://creativecommons.org/licenses/by-sa/3.0"' .
|
|
'>CC BY SA</a>.',
|
|
'minzoom' => '1',
|
|
'maxzoom' => '18'
|
|
),
|
|
Array(
|
|
'name' => 'Google Maps Sattellite',
|
|
'type' => 'tile',
|
|
'url' => 'https://mt.google.com/vt?lyrs=s&x={x}&y={y}&z={z}',
|
|
'attribution' => "<a href='http://maps.google.com/'>Google Maps</a> Satellite",
|
|
'minzoom' => '1',
|
|
'maxzoom' => '20'
|
|
|
|
),
|
|
Array(
|
|
'name' => 'Google Maps Hybrid',
|
|
'type' => 'tile',
|
|
'url' => 'https://mt.google.com/vt?lyrs=y&x={x}&y={y}&z={z}',
|
|
'attribution' => "<a href='http://maps.google.com/'>Google Maps</a> Hybrid",
|
|
'minzoom' => '1',
|
|
'maxzoom' => '20'
|
|
|
|
),
|
|
Array(
|
|
'name' => 'OsmFr Route500',
|
|
'type' => 'overlay',
|
|
'url' => 'http://{s}.tile.openstreetmap.fr/route500/{z}/{x}/{y}.png',
|
|
'attribution' => '©, Tiles © <a href="http://www.openstreetmap.fr">OpenStreetMap France</a>',
|
|
'opacity' => '0.5',
|
|
'minzoom' => '1',
|
|
'maxzoom' => '20'
|
|
),
|
|
];
|
|
?>
|