ZurmoMappingHelper Class Reference

Inheritance diagram for ZurmoMappingHelper:
MappingHelper

Public Member Functions

 resolveMappingLinkUrl ($queryParams)

Static Public Member Functions

static renderMapContentForView ($geoCodeQueryData, $containerId)
static getGeoCodesByAddressString ($addressString)
static getGeoCodeApiKey ()

Detailed Description

Mapping helper class used to fetch map data and map redering using mapping util and geocode util.

Definition at line 41 of file ZurmoMappingHelper.php.


Member Function Documentation

resolveMappingLinkUrl ( queryParams  ) 

Creates the url link for map link.

Parameters:
array $queryParams - Query params to be utilized by action in map controller
Returns:
string modal map render url.

Reimplemented from MappingHelper.

Definition at line 48 of file ZurmoMappingHelper.php.

static renderMapContentForView ( geoCodeQueryData,
containerId 
) [static]

Gets the rendered map content for the map view.

Parameters:
array $geoCodeQueryData - geocoder query data.
string $containerId - containerid for map rendering.
Returns:
rendered map content.

Definition at line 60 of file ZurmoMappingHelper.php.

static getGeoCodesByAddressString ( addressString  )  [static]

Gets the geocode coordinate data for address.

Parameters:
string $addressString - geocoder query data.
Returns:
- lat / long array.

Definition at line 72 of file ZurmoMappingHelper.php.

static getGeoCodeApiKey (  )  [static]

Gets the geocode api key from the cofig table.

Returns:
string $apiKey or null - geocode Api Key.

Definition at line 82 of file ZurmoMappingHelper.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Mon Jul 24 07:10:31 2017