Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Background

A non-technical user would like me to embed a Google Map into a WordPress-powered site. She needs the ability to add markers using a simple mechanism, and to link those markers to pages within the site.

Ideally I (as administrator) would have the ability to

  • use Styles on the basemap (eg, don't show roads)
  • write JavaScript which controlled map interactions (eg, restrict zooming to just 2 levels)
  • access advanced Google Maps functionality (eg, marker clustering)

There is no shortage of Google Maps plugins for WordPress, so my questions are:

  1. Can anyone on GIS.SE recommend any particular plugin?
  2. Do any of them allow customised JavaScript to run? (they appear to be aimed a non-GIS endusers)

Thanks

share|improve this question
1  
I'm experimenting with google-maps-v3-shortcode/ and it seems pretty good. It lacks some of my "wish list" items but does allow easy marker updating via a Fusion Tables document, which my user could easily accomplish –  Stephen Lead Nov 10 '11 at 1:11
    
A simpler option may be to design a stand-alone map using HTML, CSS and JavaScript, and upload it somewhere. Then simply embed it into a WordPress Page using an iFrame. Any reasons why this would be a bad idea? –  Stephen Lead Nov 10 '11 at 4:17
    
possible duplicate of How to implement Google Map to WordPress site? –  Devdatta Tengshe Oct 20 '13 at 15:55
add comment

1 Answer

it seems you need some level of map behavior customization. what I suggest is to develop the solution with OpenLayers, it's a Javascript client mapping framework that let's you:

  • you can easily introduce a map inside any web site, wordpress included
  • Use Google Maps as base layers (roads, aerials and aerials with labels, switching betweeb them)
  • add markers to the map clicking on it, customize markers symbology (for example clustering based on the zoom level)
  • restrict and customize map interactions (panning, zooming, etc.)
  • and many more things

Hope this helps

share|improve this answer
add comment

Your Answer

 
discard

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

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