GoogleMappingUtil Class Reference

Static Public Member Functions

static renderMapByGeoCodeData ($apiKey, $geoCodeQueryData, $containerId)
static getGeoCodeResultByData ($apiKey, $geoCodeQueryData)

Static Protected Member Functions

static renderMapAndPoint ($containerId, $apiKey, $address, $latitude, $longitude)

Detailed Description

MappingUtil class to handle map rendering given the query data.

Definition at line 40 of file GoogleMappingUtil.php.


Member Function Documentation

static renderMapByGeoCodeData ( apiKey,
geoCodeQueryData,
containerId 
) [static]

Render map into specified container using result geocoder object.

Parameters:
string $apiKey - google map api key.
array $geoCodeQueryData - required query data in the form of array.
string $containerId - containerid to render the map.

Definition at line 48 of file GoogleMappingUtil.php.

static getGeoCodeResultByData ( apiKey,
geoCodeQueryData 
) [static]

Get the geocode result object from the geocoder object.

Parameters:
string $apiKey - google map api key.
array $geoCodeQueryData - required query data in the form of array.
Returns:
object - geocoder result object.

Definition at line 64 of file GoogleMappingUtil.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Sun Dec 17 07:10:24 2017