Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

This seems so simple that I'm tearing my hair out.

I want to add a page with a map showing all the posts with a particular tag. I want each marker to pop up with the title and the preview, allowing the visitor to click through and read the full post.

Ideally I want to be able to use an OpenStreetMap map as the background instead of Google.

I've had a look at geopress, geomashup, wpgeo and osm. They are all either low quality or lacking a key feature.

Any suggestions?

share|improve this question

3 Answers

I would suggest rolling your own.

Create a metabox that allows posts to store lats and longs on posts. Then create a page that finds all the posts with the tags that you want that can grab the lats and longs from each post meta data. Using that post meta data create a json variable in the html that includes all the lat long info for all the posts that have been returned. Whatever mapping library you use can access the outputted json variable as the data to use for plotting the locations.

share|improve this answer

For what it's worth you might want to have a look at one other plugin: gPress

I've had a great experience on their support forums as well. Good luck!

share|improve this answer

Hopefully the official plugin for Geo Tagging (Geolocation) will soon support the features you're after! I've started to update the plugin myself, I've opened up a support post over at the wordpress support forums which you can see here http://wordpress.org/support/topic/updates-to-geolocation

The code base is rather messy at the moment I will admit, but everything seems to work ok at the moment, so we will see how it goes.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.