Coded something up in Couch in an interesting way? Have a snippet or shortcode to share? Post it here for the community to benefit.
2 posts Page 1 of 1
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
- Custom icons for markers

gmaps.png (138 KiB) Viewed 1441 times

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!



Is this still working on Couch v2? I get a JS Error.
2 posts Page 1 of 1

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest
(based on users active over the past 5 minutes)

Users browsing this forum: No registered users and 1 guest