public function GeocoderInterface::reverse in Geocoder 8.2
Same name and namespace in other branches
- 8.3 src/GeocoderInterface.php \Drupal\geocoder\GeocoderInterface::reverse()
Reverse geocode coordinates.
Parameters
string $latitude: The latitude.
string $longitude: The longitude.
string[] $plugins: A list of plugin identifiers to use.
array $options: (optional) An associative array with plugin options, keyed plugin by the plugin id. Defaults to an empty array. These options would be merged with (and would override) plugins options set in the module configurations.
Return value
\Geocoder\Model\AddressCollection|null An address collection or NULL on gecoding failure.
1 method overrides GeocoderInterface::reverse()
- Geocoder::reverse in src/
Geocoder.php - Reverse geocode coordinates.
File
- src/
GeocoderInterface.php, line 44
Class
- GeocoderInterface
- Provides a geocoder factory method interface.
Namespace
Drupal\geocoderCode
public function reverse($latitude, $longitude, array $plugins, array $options = []);