0

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?

2

2 Answers 2

2

I've done something similar using gmaps (http://gmap.nurtext.de/). You might want to take a look at that. It's self explanatory and there's quite a bit of documentation IF you google around.

0

Mappress is a really good solution for adding maps to posts and pages in WordPress.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.