############################################### Google Map Basic Pre 0.1 proof of concept ###############################################
Nicolaas Francken [at] sunnysideup.co.nz
SilverStripe 3.0 or greater.
- create authentication key:http://code.google.com/apis/maps/signup.html
- set configs
- add decorator to sitetree + controller (see config)
- create custom js file (if needed)
- to include, add $GoogleMapBasic to your template...
-
Find out how to add modules to SS and add module as per usual.
-
copy configurations from this module's _config.php file into mysite/_config.php file and edit settings as required. NB. the idea is not to edit the module at all, but instead customise it from your mysite folder, so that you can upgrade the module without redoing the settings.
-
add <% include GoogleMapBasic %> to your template
-
go into CMS and add a map to a page type that can have maps (as set in config)
-
review on screen and code CSS for the right look and feel.