You are here

OpenTopoMap.php in Geofield Map 8

Same filename and directory in other branches
  1. 8.2 src/Plugin/LeafletTileLayerPlugin/OpenTopoMap.php

File

src/Plugin/LeafletTileLayerPlugin/OpenTopoMap.php
View 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: &copy; <a href='http://www.openstreetmap.org/copyright'>OpenStreetMap</a>, <a href='http://viewfinderpanoramas.org'>SRTM</a> | Map style: &copy; <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

Namesort descending Description
OpenTopoMap Provides an OpenTopoMap Leaflet TileLayer Plugin.