[ class tree: zenphoto ] [ index: zenphoto ] [ all elements ]

Class: PhoogleMap

Source Location: /plugins/google_maps/phoogle.php

Class PhoogleMap

Class Overview

Phoogle Maps 2.0 | Uses Google Maps API to create customizable maps that can be embedded on your website Copyright (C) 2005 Justin Johnson

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Phoogle Maps 2.0 Uses Google Maps Mapping API to create customizable Google Maps that can be embedded on your website

Located in /plugins/google_maps/phoogle.php [line 35]



		
				Author(s):
		
		
		
Information Tags:
Copyright:  2005 system7designs

Properties

Methods

[ Top ]
Property Summary
mixed   $apiKey   apiKey
mixed   $controlType   controlType
mixed   $invalidPoints   invalidPoints : array
mixed   $mapHeight   mapHeight
mixed   $mapWidth   mapWidth
mixed   $showControl   showControl
mixed   $showType   showType
mixed   $validPoints   validPoints : array
mixed   $zoomLevel   zoomLevel

[ Top ]
Method Summary
Boolean   addAddress()  
void   addGeoPoint()  
void   centerMap()  
void   characterData()  
void   endElement()  
nothing   printGoogleJS()  
nothing   setAPIkey()  
nothing   setHeight()  
nothing   setWidth()  
nothing   showInvalidPoints()  
void   showMap()  
nothing   showValidPoints()  
void   startElement()  
void   xml2array()  

[ Top ]
Properties
mixed   $apiKey = "" [line 61]

apiKey

Google API Key


[ Top ]
mixed   $controlType = 'small' [line 80]

controlType

string: can be 'small' or 'large' display's either the large or the small controls on the map, small by default


[ Top ]
mixed   $invalidPoints = array() [line 45]

invalidPoints : array

Holds addresses and HTML Messages for points that are invalid (ie: don't have longitude and latitutde)


[ Top ]
mixed   $mapHeight = 300 [line 55]

mapHeight

height of the Google Map, in pixels


[ Top ]
mixed   $mapWidth = 300 [line 50]

mapWidth

width of the Google Map, in pixels


[ Top ]
mixed   $showControl = true [line 67]

showControl

True/False whether to show map controls or not


[ Top ]
mixed   $showType = true [line 73]

showType

True/False whether to show map type controls or not


[ Top ]
mixed   $validPoints = array() [line 40]

validPoints : array

Holds addresses and HTML Messages for points that are valid (ie: have longitude and latitutde)


[ Top ]
mixed   $zoomLevel = 4 [line 88]

zoomLevel

int: 0-17 set's the initial zoom level of the map


[ Top ]
Methods
addAddress  [line 124]

  Boolean addAddress( $address:string $address, [ $htmlMessage = null]  )

Parameters:
$address:string   $address: 
   $htmlMessage: 

API Tags:
Return:  True:False (True if address has long/lat, false if it doesn't)


[ Top ]
addGeoPoint  [line 99]

  void addGeoPoint( $lat, $long, $infoHTML  )

Parameters:
   $lat: 
   $long: 
   $infoHTML: 


[ Top ]
centerMap  [line 112]

  void centerMap( $lat, $long  )

Parameters:
   $lat: 
   $long: 


[ Top ]
characterData  [line 306]

  void characterData( $parser, $data  )

Parameters:
   $parser: 
   $data: 


[ Top ]
endElement  [line 311]

  void endElement( $parser, $name  )

Parameters:
   $parser: 
   $name: 


[ Top ]
printGoogleJS  [line 232]

  nothing printGoogleJS( )



[ Top ]
setAPIkey  [line 223]

  nothing setAPIkey( $key:string $key  )

Parameters:
$key:string   $key: 


[ Top ]
setHeight  [line 214]

  nothing setHeight( $height:int $height  )

Parameters:
$height:int   $height: 


[ Top ]
setWidth  [line 205]

  nothing setWidth( $width:int $width  )

Parameters:
$width:int   $width: 


[ Top ]
showInvalidPoints  [line 182]

  nothing showInvalidPoints( $displayType:string $displayType, $css_id:string $css_id  )

Parameters:
$displayType:string   $displayType: 
$css_id:string   $css_id: 


[ Top ]
showMap  [line 239]

  void showMap( )



[ Top ]
showValidPoints  [line 157]

  nothing showValidPoints( $displayType:string $displayType, $css_id:string $css_id  )

Parameters:
$displayType:string   $displayType: 
$css_id:string   $css_id: 


[ Top ]
startElement  [line 301]

  void startElement( $parser, $name, $attrs  )

Parameters:
   $parser: 
   $name: 
   $attrs: 


[ Top ]
xml2array  [line 289]

  void xml2array( $xml  )

Parameters:
   $xml: 


[ Top ]

Documentation generated on Tue, 30 Sep 2008 20:23:27 +0200 by phpDocumentor 1.4.1