You are here

public static property Dummy::$targets in Geolocation Field 8

Same name and namespace in other branches
  1. 8.3 tests/modules/geolocation_dummy_geocoder/src/Plugin/geolocation/Geocoder/Dummy.php \Drupal\geolocation_dummy_geocoder\Plugin\geolocation\Geocoder\Dummy::targets
  2. 8.2 tests/modules/geolocation_dummy_geocoder/src/Plugin/geolocation/Geocoder/Dummy.php \Drupal\geolocation_dummy_geocoder\Plugin\geolocation\Geocoder\Dummy::targets

File

tests/modules/geolocation_dummy_geocoder/src/Plugin/geolocation/Geocoder/Dummy.php, line 20

Class

Dummy
Provides the Google Geocoding API.

Namespace

Drupal\geolocation_dummy_geocoder\Plugin\geolocation\Geocoder

Code

public static $targets = [
  'Berlin' => [
    'lat' => 52.517037,
    'lng' => 13.38886,
  ],
  'Vladivostok' => [
    'lat' => 43.115284,
    'lng' => 131.885401,
  ],
  'Santiago de Chile' => [
    'lat' => -33.437913,
    'lng' => -70.65045600000001,
  ],
];