You are here

protected function YaMaps::prepareDefaultPlacemarkTitle in Yandex.Maps 8

Prepare default placemark.

Parameters

array $placemark: Placemark.

string $marker_title: Marker title.

1 call to YaMaps::prepareDefaultPlacemarkTitle()
YaMaps::overridePlacemarkTitle in src/Plugin/views/style/YaMaps.php
Override Placemark title.

File

src/Plugin/views/style/YaMaps.php, line 669

Class

YaMaps
Allow to display several field items on a yandex map.

Namespace

Drupal\yamaps\Plugin\views\style

Code

protected function prepareDefaultPlacemarkTitle(array &$placemark, $marker_title) {
  $placemark['params'][static::PLACEMARK_TITLE] = $marker_title;
}