Geocaching

Categories

Component ID

1901210

Component name

Geocaching

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Provides a wrapper function around the Geocoder function 'geocoder' that allows requests to be cached.
Before a request is sent, the address is checked against a local table to see if it exists. If it does, lat/lon is returned. If it does not exist, a geocoder call is made and the lat/lon is saved in the database for future use.

To use this module, make a call to geocaching_geocoder($service, $address); in your PHP. It's usage is the same as the geocoder() function in the Geocoder module.