You are here

public static function Yandex::getPackages in Geolocation Field 8.3

Selection of Yandex API packages.

See also

https://tech.yandex.ru/maps/archive/doc/jsapi/2.0/ref/reference/packages...

1 call to Yandex::getPackages()
YandexMapsSettings::buildForm in modules/geolocation_yandex/src/Form/YandexMapsSettings.php
Form constructor.

File

modules/geolocation_yandex/src/Plugin/geolocation/MapProvider/Yandex.php, line 174

Class

Yandex
Provides Yandex Maps API.

Namespace

Drupal\geolocation_yandex\Plugin\geolocation\MapProvider

Code

public static function getPackages() {
  return [
    'full' => t('Full'),
    'standard' => t('Standard'),
    'map' => t('Map'),
    'controls' => t('Controls'),
    'search' => t('Search'),
    'geoObjects' => t('GeoObjects'),
    'clusters' => t('Clusters'),
    'traffic' => t('Traffic'),
    'route' => t('Route'),
    'geoXml' => t('GeoXml'),
    'editor' => t('Editor'),
    'overlays' => t('Overlays'),
  ];
}