APP_Geocoder
Base class for Geocoders
Package
Description Description
Methods Methods
- __construct — Creates the Geocoder class with the required information to display it.
- _set_address — Sets formatted address.
- _set_address_components — Sets address components.
- _set_bounds — Sets address area bounds in a common structured array.
- _set_coords — Sets address coordinates in a common structured object.
- _set_response_code — Sets respponse code.
- calculate_radius — Calculates smart radius.
- display_name — Provides the display name for this Geocoder
- distance — Calculates distance between to points.
- form — Returns an array representing the form to output for admin configuration.
- geocode_address — Processes a geocode request for an address
- geocode_lat_lng — Processes a reverse geocode request for a lat and lng
- get_address — Retrieves current formatted address
- get_address_components — Retrieves current address components
- get_bounds — Retrieves current coordinates.
- get_coords — Retrieves current coordinates.
- get_radius — Retrieves current smart radius.
- get_response_code — Retrieves current response code
- has_required_vars — Checks whether geocoder has all necessary options entered.
- identifier — Provides the unique identifier for this Geocoder
- parse_address_components — Builds formatted address components array from the raw data.
- process_geocode — Processes geocode result and structures retrieved data.
- set_address — Retrieves formatted address from geocode result.
- set_address_components — Retrieves address components array from geocode result.
- set_bounds — Retrieves bounds array from geocode result.
- set_coords — Retrieves coordinates from geocode result.
- set_response_code — Retrieves response code from geocode result.