You are here

protected function LeafletMarker::alterLeafletMarker in Leaflet 2.1.x

Same name and namespace in other branches
  1. 8 modules/leaflet_views/src/Plugin/views/row/LeafletMarker.php \Drupal\leaflet_views\Plugin\views\row\LeafletMarker::alterLeafletMarker()
  2. 2.0.x modules/leaflet_views/src/Plugin/views/row/LeafletMarker.php \Drupal\leaflet_views\Plugin\views\row\LeafletMarker::alterLeafletMarker()

Chance for sub-classes to adjust the leaflet marker array.

For example, this can be used to add in icon configuration.

Parameters

array $point: The Marker Point.

\Drupal\views\ResultRow $row: The Result rows.

1 call to LeafletMarker::alterLeafletMarker()
LeafletMarker::renderLeafletMarkers in modules/leaflet_views/src/Plugin/views/row/LeafletMarker.php
Converts the given list of geo data points into a list of leaflet markers.

File

modules/leaflet_views/src/Plugin/views/row/LeafletMarker.php, line 371

Class

LeafletMarker
Plugin which formats a row as a leaflet marker.

Namespace

Drupal\leaflet_views\Plugin\views\row

Code

protected function alterLeafletMarker(array &$point, ResultRow $row) {
}