Inheritance diagram for BaseMap:
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. |
|
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(). |
|
draws our lookup page... geocoded JSON export baby! Definition at line 82 of file base-map.inc.php. References JSON::encode(). |
|
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(). |
|
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(). |
|
adds the lookup page and the mapjs page.
Reimplemented from BaseModule. Definition at line 15 of file base-map.inc.php. |
|
inits our lookup page... no header/footer Definition at line 74 of file base-map.inc.php. References BaseModule::setTemplate(). |
|
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(). |
|
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(). |