OpenTopoMap.php in Geofield Map 8
Same filename and directory in other branches
File
src/Plugin/LeafletTileLayerPlugin/OpenTopoMap.phpView source
<?php
namespace Drupal\geofield_map\leafletTileLayerPlugin;
use Drupal\geofield_map\leafletTileLayers\LeafletTileLayerPluginBase;
/**
* Provides an OpenTopoMap Leaflet TileLayer Plugin.
*
* @LeafletTileLayerPlugin(
* id = "OpenTopoMap",
* label = "OpenTopoMap",
* url = "http://{s}.tile.opentopomap.org/{z}/{x}/{y}.png",
* options = {
* "maxZoom" = 17,
* "attribution" = "Map data: © <a href='http://www.openstreetmap.org/copyright'>OpenStreetMap</a>, <a href='http://viewfinderpanoramas.org'>SRTM</a> | Map style: © <a href='https://opentopomap.org'>OpenTopoMap</a> (<a href='https://creativecommons.org/licenses/by-sa/3.0/'>CC-BY-SA</a>)",
* }
* )
*/
class OpenTopoMap extends LeafletTileLayerPluginBase {
}
Classes
Name | Description |
---|---|
OpenTopoMap | Provides an OpenTopoMap Leaflet TileLayer Plugin. |