Source
'Tile URL' => 'https://basemap.nationalmap.gov/arcgis/rest/services/USGSImageryOnly/MapServer/tile/{z}/{y}/{x}',
<?php
/*
** Copyright (C) 2001-2025 Zabbix SIA
**
** This program is free software: you can redistribute it and/or modify it under the terms of
** the GNU Affero General Public License as published by the Free Software Foundation, version 3.
**
** This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
** without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
** See the GNU Affero General Public License for more details.
**
** You should have received a copy of the GNU Affero General Public License along with this program.
** If not, see <https://www.gnu.org/licenses/>.
**/
require_once __DIR__.'/../../include/CWebTest.php';
require_once __DIR__.'/../behaviors/CMessageBehavior.php';
/**
* @backup config
*/
class testFormAdministrationGeneralGeomaps extends CWebTest {
private $sql = 'SELECT * FROM config';
/**
* Attach MessageBehavior to the test.
*
* @return array
*/
public function getBehaviors() {
return [CMessageBehavior::class];
}
public function getLayoutData() {
return [
// #0.
[
[
'Tile provider' => 'OpenStreetMap Mapnik',
'Tile URL' => 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
'Max zoom level' => 19
]
],
// #1.
[
[
'Tile provider' => 'OpenTopoMap',
'Tile URL' => 'https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png',
'Max zoom level' => 17
]
],
// #2.
[
[
'Tile provider' => 'Stamen Toner Lite',
'Tile URL' => 'https://stamen-tiles-{s}.a.ssl.fastly.net/toner-lite/{z}/{x}/{y}{r}.png',
'Max zoom level' => 20
]
],
// #3.
[
[