ZenphotoCMS 1.6.3

GoogleMap.php

This is plugin for display pictures on a Google Map Uses : CodeIgniter Google Maps API V3 Class (hacked for zenphoto needs) (https://github.com/BIOSTALL/CodeIgniter-Google-Maps-V3-API-Library) markerClustererPlus library 2.0.15 (http://google-maps-utility-library-v3.googlecode.com/svn/tags/markerclustererplus/) overlappingMarkerSpiderfier library 0.3 (https://github.com/jawj/OverlappingMarkerSpiderfier)

NOTE: To calculate the correct geolocation of images, this plugin needs to process certain EXIF values in pairs.

This means that you have to enable the following Metadata fields in Options => Image => Metadata:

  • Latitude + Latitude Reference
  • Longitude + Longitude Reference
  • (and optionally Altitude + Altitude Reference)
Tags
author

Stephen Billard (sbillard), Vincent Bourganel (vincent3569)

Table of Contents

Classes

GoogleMap
googleMap
CI_load
CI_jsmin
codeIgniter_kludge

Constants

BASEPATH  = true

Functions

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
Tags
deprecated
2.0

get_instance()

get_instance() : mixed
Tags
deprecated
2.0

omsAdditions()

omsAdditions() : mixed
Tags
deprecated
2.0

getGeoCoord()

$returns coordinate informations for an image

getGeoCoord( $image) : mixed
Parameters
$image :

image object

Tags
deprecated
2.0

addGeoCoord()

Add a point to a map object

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

google map object

$coord :

coordinates array

Tags
deprecated
2.0

getImageGeodata()

Gathers the data for an image

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

image object

$map :

google map object

Tags
deprecated
2.0

getAlbumGeodata()

Gathers the map data for an album

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

album object

$map :

google map object

Tags
deprecated
2.0

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.

Tags
deprecated
2.0

        
On this page

Search results