You are here

class LeafletTileLayerPlugin in Geofield Map 8

Same name and namespace in other branches
  1. 8.2 src/Annotation/LeafletTileLayerPlugin.php \Drupal\geofield_map\Annotation\LeafletTileLayerPlugin

Defines a LeafletTileLayerPlugin item annotation object.

Hierarchy

Expanded class hierarchy of LeafletTileLayerPlugin

See also

\Drupal\geofield_map\leafletTileLayers\LeafletTileLayerPluginManager

Plugin API

9 classes are annotated with LeafletTileLayerPlugin
Esri_WorldStreetMap in src/Plugin/LeafletTileLayerPlugin/Esri_WorldStreetMap.php
Provides an Esri_WorldStreetMap Leaflet TileLayer Plugin.
Esri_WorldTopoMap in src/Plugin/LeafletTileLayerPlugin/Esri_WorldTopoMap.php
Provides an Esri_WorldTopoMap Leaflet TileLayer Plugin.
OpenMapSurfer_Roads in src/Plugin/LeafletTileLayerPlugin/OpenMapSurfer_Roads.php
Provides an OpenMapSurfer_Roads Leaflet TileLayer Plugin.
OpenStreetMap_BlackAndWhite in src/Plugin/LeafletTileLayerPlugin/OpenStreetMap_BlackAndWhite.php
Provides an OpenStreetMap_BlackAndWhite Leaflet TileLayer Plugin.
OpenStreetMap_Mapnik in src/Plugin/LeafletTileLayerPlugin/OpenStreetMap_Mapnik.php
Provides an OpenStreetMap_Mapnik Leaflet TileLayer Plugin.

... See full list

File

src/Annotation/LeafletTileLayerPlugin.php, line 15

Namespace

Drupal\geofield_map\Annotation
View source
class LeafletTileLayerPlugin extends Plugin {

  /**
   * The  Leaflet Tile Layer plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The label of the plugin.
   *
   * @var \Drupal\Core\Annotation\Translation
   *
   * @ingroup plugin_translatable
   */
  public $label;

  /**
   * The url of the Leaflet Tile Layer.
   *
   * @var string
   */
  public $url;

  /**
   * The options array for the Leaflet Tile Layer plugin.
   *
   * @var array
   */
  public $options = [];

}

Members

Namesort descending Modifiers Type Description Overrides
LeafletTileLayerPlugin::$id public property The Leaflet Tile Layer plugin ID.
LeafletTileLayerPlugin::$label public property The label of the plugin.
LeafletTileLayerPlugin::$options public property The options array for the Leaflet Tile Layer plugin.
LeafletTileLayerPlugin::$url public property The url of the Leaflet Tile Layer.
Plugin::$definition protected property The plugin definition read from the class annotation. 1
Plugin::get public function Gets the value of an annotation. Overrides AnnotationInterface::get 5
Plugin::getClass public function Gets the class of the annotated class. Overrides AnnotationInterface::getClass
Plugin::getId public function Gets the unique ID for this annotated class. Overrides AnnotationInterface::getId
Plugin::getProvider public function Gets the name of the provider of the annotated class. Overrides AnnotationInterface::getProvider
Plugin::parse protected function Parses an annotation into its definition.
Plugin::setClass public function Sets the class of the annotated class. Overrides AnnotationInterface::setClass
Plugin::setProvider public function Sets the name of the provider of the annotated class. Overrides AnnotationInterface::setProvider
Plugin::__construct public function Constructs a Plugin object. 2