summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorDavid Drury <ddrury@users.noreply.github.com>2022-01-24 09:17:37 +0000
committerGitHub <noreply@github.com>2022-01-24 09:17:37 +0000
commitca91f642ac4d4c987da203de1e0a9663409a57e9 (patch)
treec0e160dc09fece655376bb5291d918b97f0ac082 /app
parentb620cb3b546c890ae9982224a0823fe108af8cc9 (diff)
downloadwebtrees-ca91f642ac4d4c987da203de1e0a9663409a57e9.tar.gz
webtrees-ca91f642ac4d4c987da203de1e0a9663409a57e9.tar.bz2
webtrees-ca91f642ac4d4c987da203de1e0a9663409a57e9.zip
Some providers needed max zoom level adjusted downward to avoid getting error messages such as tile data not available or javascript not available error code (#4168)
Diffstat (limited to 'app')
-rw-r--r--app/Module/EsriMaps.php4
-rw-r--r--app/Module/HereMaps.php6
-rw-r--r--app/Module/OrdnanceSurveyHistoricMaps.php2
3 files changed, 6 insertions, 6 deletions
diff --git a/app/Module/EsriMaps.php b/app/Module/EsriMaps.php
index 9e65f98cf8..6c3d1e43ea 100644
--- a/app/Module/EsriMaps.php
+++ b/app/Module/EsriMaps.php
@@ -73,7 +73,7 @@ class EsriMaps extends AbstractModule implements ModuleMapProviderInterface
'attribution' => 'Tiles ©Esri &mdash; Source: Esri, DeLorme, NAVTEQ, USGS, Intermap, iPC, NRCAN, Esri Japan, METI, Esri China (Hong Kong), Esri (Thailand), TomTom, 2012',
'default' => true,
'label' => 'WorldStreetMap',
- 'maxZoom' => 18,
+ 'maxZoom' => 17,
'minZoom' => 2,
'url' => 'https://server.arcgisonline.com/ArcGIS/rest/services/{variant}/MapServer/tile/{z}/{y}/{x}',
'variant' => 'World_Street_Map',
@@ -82,7 +82,7 @@ class EsriMaps extends AbstractModule implements ModuleMapProviderInterface
'attribution' => 'Tiles ©Esri &mdash; Esri, DeLorme, NAVTEQ, TomTom, Intermap, iPC, USGS, FAO, NPS, NRCAN, GeoBase, Kadaster NL, Ordnance Survey, Esri Japan, METI, Esri China (Hong Kong), and the GIS User Community',
'default' => false,
'label' => 'WorldTopoMap',
- 'maxZoom' => 19,
+ 'maxZoom' => 17,
'minZoom' => 2,
'url' => 'https://server.arcgisonline.com/ArcGIS/rest/services/{variant}/MapServer/tile/{z}/{y}/{x}',
'variant' => 'World_Topo_Map',
diff --git a/app/Module/HereMaps.php b/app/Module/HereMaps.php
index 3e07429fc9..95e72e9fc7 100644
--- a/app/Module/HereMaps.php
+++ b/app/Module/HereMaps.php
@@ -115,7 +115,7 @@ class HereMaps extends AbstractModule implements ModuleConfigInterface, ModuleMa
'format' => 'png8',
'label' => 'Normal',
'mapID' => 'newest',
- 'maxZoom' => 20,
+ 'maxZoom' => 19,
'minZoom' => 2,
'size' => 512,
'subdomains' => ['1', '2', '3', '4'],
@@ -130,7 +130,7 @@ class HereMaps extends AbstractModule implements ModuleConfigInterface, ModuleMa
'format' => 'png8',
'label' => 'Grey',
'mapID' => 'newest',
- 'maxZoom' => 20,
+ 'maxZoom' => 19,
'minZoom' => 2,
'size' => 512,
'subdomains' => ['1', '2', '3', '4'],
@@ -145,7 +145,7 @@ class HereMaps extends AbstractModule implements ModuleConfigInterface, ModuleMa
'format' => 'png8',
'label' => 'Terrain',
'mapID' => 'newest',
- 'maxZoom' => 20,
+ 'maxZoom' => 19,
'minZoom' => 2,
'size' => 512,
'subdomains' => ['1', '2', '3', '4'],
diff --git a/app/Module/OrdnanceSurveyHistoricMaps.php b/app/Module/OrdnanceSurveyHistoricMaps.php
index 1352606968..3c53654384 100644
--- a/app/Module/OrdnanceSurveyHistoricMaps.php
+++ b/app/Module/OrdnanceSurveyHistoricMaps.php
@@ -75,7 +75,7 @@ class OrdnanceSurveyHistoricMaps extends AbstractModule implements ModuleMapProv
'bounds' => [[49.852539, -7.793077], [60.894042, 1.790425]],
'default' => true,
'label' => 'Historic map of Great Britain',
- 'maxZoom' => 17,
+ 'maxZoom' => 15,
'minZoom' => 2,
'subdomains' => ['0', '1', '2', '3'],
'url' => 'https://nls-{s}.tileserver.com/nls/{z}/{x}/{y}.jpg',