ZenphotoCMS 1.6.x

googlemap

Interfaces, Classes, Traits and Enums

GoogleMap
googleMap
CI_load
CI_jsmin
codeIgniter_kludge

Table of Contents

BASEPATH  = true
log_message()  : mixed
get_instance()  : mixed
omsAdditions()  : mixed
getGeoCoord()  : mixed
$returns coordinate informations for an image
addGeoCoord()  : mixed
Add a point to a map object
getImageGeodata()  : mixed
Gathers the data for an image
getAlbumGeodata()  : mixed
Gathers the map data for an album
printGoogleMap()  : mixed
Output the google map

Constants

Functions

log_message()

log_message(mixed $class, mixed $msg) : mixed
Parameters
$class : mixed
$msg : mixed
Return values
mixed

get_instance()

get_instance() : mixed
Return values
mixed

omsAdditions()

omsAdditions() : mixed
Return values
mixed

getGeoCoord()

$returns coordinate informations for an image

getGeoCoord( $image) : mixed
Parameters
$image :

image object

Return values
mixed

addGeoCoord()

Add a point to a map object

addGeoCoord( $map,  $coord) : mixed
Parameters
$map :

google map object

$coord :

coordinates array

Return values
mixed

getImageGeodata()

Gathers the data for an image

getImageGeodata( $image,  $map) : mixed
Parameters
$image :

image object

$map :

google map object

Return values
mixed

getAlbumGeodata()

Gathers the map data for an album

getAlbumGeodata( $album,  $map) : mixed
Parameters
$album :

album object

$map :

google map object

Return values
mixed

printGoogleMap()

Output the google map

printGoogleMap([string $text = NULL ][, string $id = NULL ][, string $hide = NULL ][, object $obj = NULL ][, function $callback = NULL ]) : mixed
Parameters
$text : string = NULL

text for the "toggle" link that shows/hides the map. Set empty to omit (then Map is always displayed)

$id : string = NULL

used to set the IDs for the toggle href element ($id_toggle) and the map element ($id_data)

$hide : string = NULL

initial map state: "hide", "show", or "colorbox"

$obj : object = NULL

optional image/album object. Pass string for generic map and use callback to set points

$callback : function = NULL

optional callback function to set map options.

Return values
mixed

Search results