CoolCMS API

ExternalGeocoder

External geocoder (currently Google), called only when the region dataset is not enough.

It is an interface for tests (a call counter). In front of it stands cms_system_geocoding_cache (Api GeocodingManager::lookupExternal()).

Table of Contents

Methods

geocode()  : GeocodingLookup
Resolves a free-text address to a point, not found or an error. An error (network, quota, missing key or address) differs from not found in that it is not cached.

Methods

geocode()

Resolves a free-text address to a point, not found or an error. An error (network, quota, missing key or address) differs from not found in that it is not cached.

public geocode(string $address) : GeocodingLookup
Parameters
$address : string
Return values
GeocodingLookup
On this page

Search results