public function AbstractGeometryProvider::reverse in Geocoder 8.2
Same name and namespace in other branches
- 8.3 modules/geocoder_geofield/src/Geocoder/Provider/AbstractGeometryProvider.php \Drupal\geocoder_geofield\Geocoder\Provider\AbstractGeometryProvider::reverse()
Reverse ReverseGeocode.
Parameters
float $latitude: The latitude.
float $longitude: The longitude.
Return value
\Geocoder\Model\AddressCollection|null The AddressCollection object, NULL otherwise.
Throws
\Geocoder\Exception\Exception
Overrides GeometryProviderInterface::reverse
File
- modules/
geocoder_geofield/ src/ Geocoder/ Provider/ AbstractGeometryProvider.php, line 60
Class
- AbstractGeometryProvider
- Provides an abstract file handler to be used by GeoPHP Wrapper.
Namespace
Drupal\geocoder_geofield\Geocoder\ProviderCode
public function reverse($latitude, $longitude) {
throw new UnsupportedOperation(sprintf('The %s plugin is not able to do reverse geocoding.', $this->geophpType));
}