Version: 0.9 (03.10.2014)
Hello Couchies,
recently I've come across integration of Google Maps API to Couch. It was not so easy, so I've made a module for other developers as a solution.
There are many features are accessable from Admin Panel:
- Geocode without Google's "2500 requests" restriction
- Add and remove markers
- HTML Infoblocks for markers
- Intuitive map centering and map zoom
- Choose map type and controls
- Custom map styles from http://snazzymaps.com/
- Custom icons for markers
To install it place the files into your project folder, register "googlemaps.php" and "contacts.php" and make your map following the included instructions.
"contacts.php" is just a sample for how to integrate GM module to your templates. I tried to make it as easy as possible.
All JS is written on Vanilla JS + GM API v3. I've tested it in modern browsers only. If there are any problems and suggestions, welcome!
Thanks
Hello Couchies,
recently I've come across integration of Google Maps API to Couch. It was not so easy, so I've made a module for other developers as a solution.
There are many features are accessable from Admin Panel:
- Geocode without Google's "2500 requests" restriction
- Add and remove markers
- HTML Infoblocks for markers
- Intuitive map centering and map zoom
- Choose map type and controls
- Custom map styles from http://snazzymaps.com/
- Custom icons for markers
To install it place the files into your project folder, register "googlemaps.php" and "contacts.php" and make your map following the included instructions.
"contacts.php" is just a sample for how to integrate GM module to your templates. I tried to make it as easy as possible.
All JS is written on Vanilla JS + GM API v3. I've tested it in modern browsers only. If there are any problems and suggestions, welcome!
Thanks