Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

BaseMap Class Reference
[Basic Modules]

Inheritance diagram for BaseMap:

MyModule BaseModule List of all members.

Detailed Description

A nice easy class for doing Google Maps Mashups.

A class that provides a really nice base for Google Maps Mashups. Draws teh map, provides a geocoding jumper javascript, and lots of other cool stuff like clustered markers, and nice markers with labels.

Definition at line 10 of file base-map.inc.php.

Public Member Functions

 getPagesXml ()
 adds the lookup page and the mapjs page.
 initMainPage ()
 intializes the main page.
 drawMainPage ()
 draws the map and a div for debug/status messages.
 drawLookupForm ()
 draws a form for users to jump to a certain location...
 initLookupPage ()
 inits our lookup page...
 drawLookupPage ()
 draws our lookup page...
 initMapJsPage ()
 inits our javascript page...
 drawMapJsPage ()
 draws our map javascript page.


Member Function Documentation

BaseMap::drawLookupForm  ) 
 

draws a form for users to jump to a certain location...

super handy!!!

Definition at line 58 of file base-map.inc.php.

Referenced by drawMainPage().

BaseMap::drawLookupPage  ) 
 

draws our lookup page...

geocoded JSON export baby!

Definition at line 82 of file base-map.inc.php.

References JSON::encode().

BaseMap::drawMainPage  ) 
 

draws the map and a div for debug/status messages.

Reimplemented from BaseModule.

Definition at line 48 of file base-map.inc.php.

References drawLookupForm().

BaseMap::drawMapJsPage  ) 
 

draws our map javascript page.

provides a maplookup function to handle lookups, also a mapdebug function to give messages to user. extend this to add your customized map js stuff. its simply a javascript file.

Definition at line 107 of file base-map.inc.php.

References BaseModule::getUrl().

BaseMap::getPagesXml  ) 
 

adds the lookup page and the mapjs page.

Reimplemented from BaseModule.

Definition at line 15 of file base-map.inc.php.

BaseMap::initLookupPage  ) 
 

inits our lookup page...

no header/footer

Definition at line 74 of file base-map.inc.php.

References BaseModule::setTemplate().

BaseMap::initMainPage  ) 
 

intializes the main page.

adds some needed files like the google map file, prototype.js and your map javascript page.

Reimplemented from BaseModule.

Definition at line 34 of file base-map.inc.php.

References BaseModule::needsJs().

BaseMap::initMapJsPage  ) 
 

inits our javascript page...

javascript content type and no header/footer action

Definition at line 94 of file base-map.inc.php.

References BaseModule::setTemplate().


The documentation for this class was generated from the following file:
Generated on Fri Oct 27 12:26:41 2006 for BaseJumper by doxygen 1.3.9.1