Public Member Functions | Data Fields

googlemaps Class Reference

Public Member Functions

 render ($text)
 get_div ($id)
 generate_js ($count, $address)

Data Fields

 $latlong = "-34.397, 150.644"
 Just a random number :).
 $zoom = "14"
 $maptype = "ROADMAP"
 Other options : SATELLITE, HYBRID, TERRAIN.
 $divid = "map_canvas"
 $divwidth = "300px"
 $divheight = "300px"
 $counter = "0"
 $includejs = "<script type=\"text/javascript\" src=\"http://maps.google.com/maps/api/js?sensor=false\"></script>"
 $mainjs = ""

Detailed Description

render Google maps using its API and Geocoding technique

Author:
Abhishek Shrivastava (c) 2010 Pragyan Team http://www.gnu.org/licenses/ GNU Public License For more details, see README

Definition at line 18 of file googleMaps.class.php.


Member Function Documentation

generate_js ( count,
address 
)

Definition at line 61 of file googleMaps.class.php.

get_div ( id  ) 

Definition at line 55 of file googleMaps.class.php.

render ( text  ) 

Definition at line 29 of file googleMaps.class.php.


Field Documentation

$counter = "0"

Definition at line 26 of file googleMaps.class.php.

$divheight = "300px"

Definition at line 25 of file googleMaps.class.php.

$divid = "map_canvas"

Definition at line 23 of file googleMaps.class.php.

$divwidth = "300px"

Definition at line 24 of file googleMaps.class.php.

$includejs = "<script type=\"text/javascript\" src=\"http://maps.google.com/maps/api/js?sensor=false\"></script>"

Definition at line 27 of file googleMaps.class.php.

$latlong = "-34.397, 150.644"

Just a random number :).

Definition at line 20 of file googleMaps.class.php.

$mainjs = ""

Definition at line 28 of file googleMaps.class.php.

$maptype = "ROADMAP"

Other options : SATELLITE, HYBRID, TERRAIN.

Definition at line 22 of file googleMaps.class.php.

$zoom = "14"

Definition at line 21 of file googleMaps.class.php.


The documentation for this class was generated from the following file: