I'm looking to create a custom Google map that plots several markers on it that then shows custom data in the popup when the marker is clicked.
I've setup the pages in WP in this manner:
Map (parent page)
- Company one (child)
- Company two (child)
- Company three (child)
...and so on.
I want the map to be on the map page and each marker to be of the child pages.
I use this plugin to create custom fields as it allows me to easily create the 20 or so fields (each one consists of various checkboxes, drop downs, image fields etc etc) per page.
How would I loop through each child page and plot the marker based on their post code?