You are here

OpenStreetMap.php in Geocoder 8.3

File

src/Plugin/Geocoder/Provider/OpenStreetMap.php
View source
<?php

namespace Drupal\geocoder\Plugin\Geocoder\Provider;

use Drupal\geocoder\ConfigurableProviderUsingHandlerWithAdapterBase;

/**
 * Provides an OpenStreetMap geocoder provider plugin.
 *
 * @GeocoderProvider(
 *   id = "openstreetmap",
 *   name = "OpenStreetMap",
 *   handler = "\Geocoder\Provider\Nominatim\Nominatim",
 *   arguments = {
 *     "rootUrl" = "https://nominatim.openstreetmap.org",
 *     "userAgent" = "",
 *     "referer" = ""
 *   },
 *   throttle = {
 *     "period" = 2,
 *     "limit" = 1
 *   }
 * )
 */
class OpenStreetMap extends ConfigurableProviderUsingHandlerWithAdapterBase {

}

Classes

Namesort descending Description
OpenStreetMap Provides an OpenStreetMap geocoder provider plugin.