Comprehensive Google Map

Please note – I am in the process of relocating to US these days (as of 21st of March). Until further notice no new features will be released. Only bug fixes. Might not be able to respond as quickly as usually. Thank you.

For additional help and support, please read the comments and responses on this page and at: http://wordpress.org/tags/comprehensive-google-map-plugin?forum_id=10

Disclaimer: Because I cannot have high expectations from people to donate using PayPal, I have to rely on third party advertising in order to support future development of my plugins. Therefore, when clicking on the WordPress links on the current page, you will be presented with some ads. You don’t have to do anything, you just have to wait for 5 seconds before skipping the ad. After skipping the ad, you will be navigated to WordPress. Having said that, If you still decide to donate, you can. Alternatively you can simply like the plugin on Facebook or tweet about it using the social bookmarks at the bottom of this page.

Comprehensive Google Map Plugin (Plugin on WordPress.org) (Download Plugin)

A simple and intuitive, yet elegant and fully documented Google map plugin that installs as a widget and a short code. No limited plugin editions or limited functionality! This is the full version of this free and premium plugin, which comes packed with useful features:

  • Intuitive and user friendly interface, which makes it very easy to configure Google map. No complex configuration options. Facebook style interactive interface for managing multiple map markers
  • Help tooltips enabled, which makes your configuration hassle free
  • Plugin is fully documented. If help tooltips are not enough, you can always refer to the full documentation about each of the settings
  • Short-code builder available, which integrated with post/page editor. In other words, you do not need manually to type the short-code in the editor (But you can if you want to).
  • The plugin auto generates unique ID for each map. In other words – unlimited maps! You do not need to specify and maintain unique map IDs explicitly when dealing with multiple maps on the same post/page.
  • The plugin offers extensive configuration options for Google map marker, controls, size, KML files, location by latitude/longitude, location by address, info windows, traffic/bike lanes and more!
  • Support for custom overlays: Panoramio photos on the map (http://www.panoramio.com/), bicycle lanes and traffic info.
  • Widget enabled.
  • Cross browser compatible
  • Loads geographic markup from a KML, KMZ or GeoRSS file hosted remotely.

Support for Google Fusion tables and fusion table queries, distance matrix are to be added in the next version, stay tuned!

Please note: Although I try my best to release a bug-free code, one or two may slip through. It would be so cool and I would really appreciate it if you would report any bugs to me first, before reporting the plugin to be broken. I am quick to respond. Thanks!

 

Please note – I am in the process of relocating to US these days (as of 21st of March). Until further notice no new features will be released. Only bug fixes. Might not be able to respond as quickly as usually. Thank you.

For additional help and support, please read the comments and responses on this page and at: http://wordpress.org/tags/comprehensive-google-map-plugin?forum_id=10

Screenshots

 

1,063 thoughts on “Comprehensive Google Map

  1. I upgraded from version 6.0.8 to version 6.0.14 and my map no longer appears, even after re-creates it on the page.

    Appears the map space, makes loading but everything is gray and only shows “Powered by Google” and “Terms & Conditions”.

  2. Hello again. Thank you for your quick response to my previous comment. I look forward to the next major update of your plugin
    I just noticed that in firefox my map box displays but the actual map doesn’t display, and in addition the map widget is disrupting the scrolling images in the footer of the page. Please advice what i need to do to fix this. I just updated to the current version of the plugin and it doesn’t seem to make any difference.

    Thanks

  3. Hello!
    You have created a very nice plugin. I installed it instead an other function with the older api.
    It works nearly perfectly.
    But currently I have a problem opening our site with an Apple iPad. Google reject the access, because the parameter sensor must be true or false. What could be wrong?
    I get the message even in the dashboard. On the normal computers it looks fine.
    What are your plans to offer the plugin in different languages?
    I could help you with German.

  4. Plugin has been working beautifully. Upgraded from 6.0.8 to 6.0.9 and the maps no longer display, just the loading icon. Went back to 6.0.8 and everything is fine in that version. Something definitely broke in the 6.0.9 upgrade.

      • Let me explain a little further what I am doing. My page has a list of links (post ids). When clicked the post containing the map is retrieved by ajax. The map displays fine on the post page. This worked in 6.0.8, but not since. I now have 6.0.11 installed and the problem still exists. No errors in Firebug, just the never ending LOADING graphic where the map should be.

        The site is under development at http://ap3webservices.net/88/maps-and-directions/

        • Ok, I know what is happening, so work with me here and see if I am clear enough:

          Previously, in your case in 6.0.8, the JS business logic that would init the google object and pass map data to it was injected to the client side by PHP.

          I have changed that, as I did not want to keep the JS business logic injected this way, and I wanted to create an eco system where my JS would run without fear of being broken by JS from other plugins. The latter has happened repeatedly from time to time.

          Now, instead of JS business logic, I inject JSON objects that hold data required to init the google object and build the map. My JS now runs within (function() { …. JS business logic …}); which is sheltered from JS errors and clashes. on document ready(), the JS will lookup for the JSON objects and process them as per usual manner. I have tried clicking on the links, and saw that the JSON object of the respective map is returned as part of the response:

          CGMPGlobal.maps.push({"id":"e3c47601525d0c8b48e90f4d9867649e","zoom":"13","maptype":"ROADMAP","bubbleautopan":"true","maptypecontrol":"true","pancontrol":"true","zoomcontrol":"true","scalecontrol":"true","streetviewcontrol":"true","scrollwheelcontrol":"false","markerlist":"1221 Monterey Rd., Glendale, CA{}3-default.png","addmarkermashup":"false","geomashupbubble":"false","kml":"","showbike":"false","showtraffic":"false","showpanoramio":"false","panoramiouid":""});

          But obviously nothing happens, because my JS business logic is not triggered to do something on AJAX response onSuccess. So… Keep using the 6.0.8 for now. I would try to put something in place to accommodate for this scenario, but this will not be soon. In turn, you can poke around cgmp-framework.js (the very bottom of the file where document ready is) to workaround it. Just make sure you are loading in the HEAD the latter file instead of minified version.

          I hope I was clear here :O

  5. Hey!
    I love this plugin, it’s awesome and there’s nothing wrong with my installation of it, i just have a question.
    For the specific instance on the site i’m using it as a map to post locations of various people around the globe. I don’t need to ability to map directions to any of these people. Is there a way that when the bubble pops up after clicking a map pin to remove the get directions to/from links? (an easy way that is)
    Also i have checked the box where the bubble pulls in the original post title and excerpt. Is there a way to edit the styling of those items? I couldn’t find them declared specifically in the css file.

    Thanks for your help!

    • Hi,
      Thank you. ATM you cannot remove the directions link from the info bubble window. it will be an option in the future though.
      Due to my laziness, I have put the styling of the post title and excerpt inline, I should pull them out to the main style.css in the enxt version.

      Regards

      • I +1 to styling this a different way. The upgrade has broken the mobile version of my site because the width is set to 400px, so I have to go back.

  6. Hi, I’m testing your plugin for possible use for a client. I get the map just fine, but can’t figure out how to get directions. There’s no “get directions” button.
    Here’s the code that is generated:
    [google-map-v3 width="350" height="350" zoom="12" maptype="ROADMAP" mapalign="center" addmarkermashupbubble="false" addmarkermashupbubble="false" addmarkerlist="380 W Main St, Hyannis, MA 02601{}flowers.png" maptypecontrol="true" pancontrol="true" zoomcontrol="true" scalecontrol="true" streetviewcontrol="true" scrollwheelcontrol="false" bubbleautopan="true" showbike="false" showtraffic="false" showpanoramio="false"]
    Am I doing something wrong?

    Thanks

  7. Hi, nice plugin but I am having the same problem like Chris the 20th. I can not get the plugin to work in widget, I put in a location and push the button to load marker and nothing happens (with the page editor it works fine).
    Thanks,
    Marco

    • Marco,

      Unfortunately without taking a look at your WP admin, I am not able to see whats going on with the button and the widget.

      If you are ok with it, please email me your WP credentials (you can create temp account for me) to my email at azagniotov which is hosted on gmail.com

      Regards

  8. Love your plugin. Deserves the title “comprehensive”.

    I also was successful in using it several days ago, and now I can’t get it to work on any sites. I am running WP 3.3.1 multi-site. I’ve tried adding a new site without any plugins except this one with no luck. I was just using the basic KML URL. A map is showing, but zoomed in all the way in the middle of the ocean off the coast of Africa. If I zoom out and go to where the saved places are suppose to show up on the map, the markers are not there.

    Here’s my test site: http://so-media.lasalle.edu/muto/

    I have the following plugins set as must use across all my sites (they were all active when the map was working previously). The only change among them was I added some code regarding failed logins to our CAS authentication plugin (wpcas-conf.php):
    BNS Login
    General Headers & Footers
    Odiogo Listen Button
    Organization Definition
    Secure WordPress
    Simple Code Embed
    Viper’s Video Quicktags
    WP-Mail-SMTP
    wpCAS
    wpcas-conf.php
    WPMU Custom CSS

    • Hi Mike,

      “I also was successful in using it several days ago” –>
      a/ How many days ago was that?
      b/ Was it the same version of the map plugin that suddenly stopped working?
      c/ Did you use KML URL when the plugin was working successfully?
      d/ If you did use KML URL all along, was it the same KML URL?

      Regards,
      Alex

  9. Alexander,

    Love the plugin. When convenient for you, I need help with the Add Marker button. It won’t post when clicked. JS issue? See the widget in the sidebar at my homepage when you have a chance?

    Thanks!
    Jeff

    • Jeff,

      Unfortunately without taking a look at your WP admin, I am not able to see whats going on with the button and the widget.

      If you are ok with it, please email me your WP credentials (you can create temp account for me) to my email at azagniotov which is hosted on gmail.com

      Regards

  10. Hi Alex,
    I downloaded this plugin a couple of weeks ago and its been working great until today. I went in to edit one of my pages and this message came up every time I tried to do anything:
    The Google Maps API server rejected your request. The “sensor” parameter specified in the request must be set to either “true” or “false”.
    All the maps on my website are now blank. The only thing I’ve changed last night was to upload an email widget. I tried deactivating this widget but it didn’t make a difference. I’m fairly new at this so I’m really not sure how to change this.
    Thanks
    Chana

  11. Hi, I love the plugin and seems intuitive but simple at the same time but I am having one issue that is preventing me from using it. The problem is that after I add the address I then proceed to click the send to editor button at the bottom and it does absolutely nothing. I don’t think I’m doing anything wrong and I can’t figure out why it’s doing that. I’m using Google Chrome. Any help would be awesome. Thanks

  12. Cool plugin!
    I can not get the plugin to work in widget, I put in a location and push the button to load marker and nothing happens.

    Thanks

  13. Hi Alex,

    Thank you very much for making this great plugin.

    I have the same problem as Warwick. The plugin works in the default theme, “twentyeleven”, but not in my custom theme. My custom template theme is very simple. It only consists of functions.php, header.php, index.php, sidebar.php, footer.php. I tried uninstalling all of the other plugins and only have this plugin installed. It still does not work. What kind of code is needed for functions.php, header.php or index.php in order for this to work?

  14. Hi Alexander. Your plugin has really helped me out. However, one thing I cannot do is get the Long/Lat to disappear form the info bubble when I enter a full street address. If I’m reading it correctly, the documentation says the address should override the display of the coordinates when provided. Instead of doing this however, it shows me both the address and the lat/long. Other than the purpose of defining exact locations I don’t seen any purpose for anyone to know what the lat/long is so I really want to get rid of it. Any ideas?

  15. Hi there. First up, I LOVE this plugin, but I’m not experienced and all I can seem to get is a grey screen with “Powered by Google” on it. Here is my shortcode generated with the generator on the edit page:

    [google-map-v3 width="350" height="350" zoom="12" maptype="ROADMAP" mapalign="center" addmarkermashupbubble="false" addmarkermashupbubble="false" addmarkerlist="12.925704,100.777931{}1-default.png" maptypecontrol="true" pancontrol="true" zoomcontrol="true" scalecontrol="true" streetviewcontrol="true" scrollwheelcontrol="false" bubbleautopan="true" showbike="false" showtraffic="false" showpanoramio="false"]

    I had a more complex shortcode before when I started but that didn’t work so I tried using just the defaults, but still get the same result on the page at http://kohlarn.org/newsite/koh-larn-photos/

    Sorry to bother you but is there something obvious that I’m doing wrong?

    Thanks very much
    Warwick

  16. Hi Alexander,

    Thank you for creating this plugin. I’m testing it on a content-centered theme and on a widescreen theme. Some features are no longer appearing or are now appearing incorrectly in your newer version. Here’s a brief list: On the content-centered theme, after clicking on an icon to open the address text box, the “x” to close the text box is no longer appearing. Also, when the directions options are opened, the “By car” and “Walking” icons are showing, but the image inside the icon is off-set from the center of the button image, and the “Walking” button is diagonally off-set from the “By car” button (rather than side-by-side). In the widescreen theme, the zoom-in-out bar is now showing in the center of the screen, instead of at the side. Also, when clicking on an icon, the address text box no longer opens.

    Additionally, I see in this chat stream that you are okay with Honza R adding functionality. Would you also be okay if I were to add another component, for multi-site application? I would like to add an option for adding markers to a map whereby the user can click on a drop-down list of predefined locations. Users of my blog farm would then populate the maps on their blogs with these predefined locations. As the superadmin I would have a control panel through which to pre-enter addresses.

    Thanks,
    Rob

    • Hi Rob,

      Yeah, the problems you are describing are related to CSS. I have to admit, I am not a CSS whiz, and it does causes me grief…
      Regarding the feature you want to add, I assume you have Geo tagging in mind? Sure, please feel free to add it. Its an excellent feature.

      Let me know how I can help you…

      Regards

  17. Hi Alexander
    I like your work and are impressed with the work you have done.
    I have a problem, with the Google map plugin that I hope you have an answer for. In the admin panel I se an error message just underneath the headline ” AZ Chortcode builder” that says:Notice: Undefined variable: checked in /var/www/web/wse442449/wp-content/plugins/comprehensive-google-map-plugin/functions.php on line 397

    On the frontend of the site I have folloving error message in the top of the Page that displays the Google map.
    Notice: Undefined variable: bubbleiautopan in /var/www/web/wse442449/wp-content/plugins/comprehensive-google-map-plugin/shortcode.php on line 103

    I’ve tried to uninstall the plugin and reinstall it with the same result.
    Do you think you can help me?
    best regards Åke B

    • Hi Åke,

      First of all thank you. That’s a bit weird to me that I did not pick up on that earlier. On my dev box I do display all the notices and errors. I just went through my PHP configuration to make sure that I do not suppress any messages. Nevertheless, thank you. I will release a new version now.

      btw, there is another plugin on your box that throws notices:
      Notice: Undefined offset: 2 in /var/www/web/wse442449/wp-content/plugins/all-in-one-event-calendar/app/controller/class-ai1ec-app-controller.php on line 414

      Regards

  18. Great plugin, however, we would like the route to be drawn on the map (you add two markers and it draws the route between the two)
    Is this possible?

  19. Great plugin! Had one quick question, is there a way so that the marker bubble is open by default? So people don’t have to click on the pin to get the info.
    Thanks

  20. Alexander,
    I love your plugin and thank you for taking the time to offer such a valuable tool to the community.

    I can’t seem to get the multiple locations to show up on the map. The map only works when I insert one single address into it BUT when I try to add more than one address into a location page the GREY map shows. Are we not able to show multiple locations in one map at this time?

    http://www.a-1locksmith.info/dfw-locksmith-locations/ is the location of my map.

    Regards,

    Jason

  21. Hi,
    First nice plugin! i have one question is possible to change the popup language when clicking on a marker somewhere? Maybe by pointing it to maps.google.nl?

  22. Hi Alexander,
    I’m testing your plugin and I’d like to insert a big map on my homepage so I was trying to play with <?php echo (in home.php) but I can't get it work, any hint?

  23. Hi,
    I created a map with 1 location in a post
    I created a second map in Mashup mode on another page (and post) but this map is empty: I get a grey screen

    THE SHORT CODE “Location” in a post:
    [google-map-v3 width="620" height="250" zoom="12" maptype="ROADMAP" mapalign="center" addmarkermashupbubble="false" addmarkermashupbubble="false" addmarkerlist="14 rue de la Sinne - MULHOUSE{}1-default.png" maptypecontrol="true" pancontrol="true" zoomcontrol="true" scalecontrol="true" streetviewcontrol="true" scrollwheelcontrol="false" bubbleautopan="true" showbike="false" showtraffic="false" showpanoramio="false"]

    THE SHORT CODE “Mashup” in the other post:
    [google-map-v3 width="620" height="620" zoom="12" maptype="ROADMAP" mapalign="center" addmarkermashup="true" addmarkermashupbubble="true" addmarkermashupbubble="true" maptypecontrol="true" pancontrol="true" zoomcontrol="true" scalecontrol="true" streetviewcontrol="true" scrollwheelcontrol="false" bubbleautopan="true" showbike="false" showtraffic="false" showpanoramio="false"]

    Regards

    Denis

  24. Hi,
    I love your widget, but I am having a few problems with location. I am trying to put in the following Lat/Long grid reference
    SX 741 674.
    It’s in Devon in the UK, but when I put in the 6 digits it ends up in the US. Could you help me?!

    The code generated is below…

    [google-map-v3 width="675" height="350" zoom="12" maptype="ROADMAP" mapalign="center" addmarkermashupbubble="false" addmarkermashupbubble="false" addmarkerlist="741 674{}hiking.png" maptypecontrol="true" pancontrol="true" zoomcontrol="true" scalecontrol="true" streetviewcontrol="true" scrollwheelcontrol="false" bubbleautopan="true" showbike="false" showtraffic="false" showpanoramio="false"]

    Any help would be much appreciated.
    Regards
    Steve

    • Hi Steve,

      the ’741 674′ does not mean anything. Give it a go on the Google maps on the web. I got some US suggestions in my case. If Google on the web cant locate what you need, then my plugin definitely wont. Because the latter relies on Google.
      Also, the lat/long nee to be separated by comma, not by space.

      I hope this helps,

      Regards

  25. Dear Alexander,

    I noticed there was a update to 6.0.2 but in this update the map doesn’t work. you get a grey screen. i hope you can fix it. at this time i will continue using 5.0.1

      • Okey, i installed the update. and put this in the text area for wordpress
        [google-map-v3 width="640" height="400" zoom="16" maptype="ROADMAP" mapalign="center" addmarkermashupbubble="false" addmarkermashupbubble="false" addmarkerlist="Kerkstraat 45, 4191 AA Geldermalsen{}1-default.png" maptypecontrol="true" pancontrol="true" zoomcontrol="true" scalecontrol="true" streetviewcontrol="true" scrollwheelcontrol="false" bubbleautopan="true" showbike="false" showtraffic="false" showpanoramio="false"]

        but since the update i get instead of a map a gray screen. you can look at http://www.jefta.nl/contact

        i hope its enough information
        Regards

        • Arjan,

          Can you please remove the plugin (do not update) and install the latest version?
          There is something weird going on. According to the source files that I see in the HTML source of your page you are running version 5.0.1 of my plugin.
          But the contents of the files are from version 6.0.x??? Did you manually update certain files (I am talking about JS)? Also, two CSS files cannot be found.

          That’s why I want you to do a clean install.

          Cheers

          P.S. The map from your shortcode on my blog: https://skitch.com/azagniotov/8bp8y/this-is-a-map-initbinder

  26. Same error here, just a white map, i tried to install the version 6.0.0 and it still shows the white map, but it worked before I installed the update.

  27. Dear Alexander!
    Really like your plugin, but with update to the new version, it started to show this mistake on site (and grey square instead of the map):
    “ATTENTION!
    Dear blog/website owner,
    It looks like you did not specify any locations for the Google map!
    When adding marker locations in the widget or shortcode builder,
    did you clicked the “Add Marker” button?
    Please revisit your configuration..”
    I tried reset configuration several times and, for sure, clicked “add marker”. Nothing helped :(

    Plus in the previous version plugin didn’t show my Panoramio photoes.

    I used it on this site http://test.bothaway.com/karta/

    Will appreciate your help here!
    thanks!

    • Olia…

      Thank you for the kind words.

      For Panoramio user ID you have to specify user ID. You have provided the whole URL instead: panoramio.com/user/6607614.
      You need to provide only ’6607614′. Regarding the error message, it pops up because when building your shortcode you did not add any location to the map and clicked “Add Marker”. I am sure that your shortcode property “addmarkerlist” is empty. Reconfigure your shortcode, by having at least one marker location added. It should work then.

      I hope this helps.

      Regards

  28. This plugin works great with a post but as the post forces a link I would rather put it in as a Widget. The problem is, when I try to put it in as a widget the “Add Marker” doesn’t work. Is it because I use Headway Themes?

  29. Hi. I just started using your plugin and really like it, very friendly and effective. I have a page with a geo mashup of other posts and I was about to ask if you could add function to link to the posts from the map and I see you’ve done that in the latest update. However, for some reason, it’s not working. I’m not sure why – the single place maps on other posts are working but this now just gets the blank white box. It was working before the update but obviously with the directions bubble. The page is http://rollonlunch.com/roll-around-the-world/. Thanks.

  30. Hi there!

    Used your great plugin (latest version) on the freshly set up http://www.winterhuder-kindersalon.de (Page “Find Us”), but had to deactivate it recently. Reason: Whenever it’s active, each page, i.e. also pages which do not contain the widget, prompts an error message telling me that “sensor must be true or false”. Strange thing is, when I am logged in with my admin account, the error does not occur?! I got no idea how I can resolve this issue. Any Idea?

    Cheers
    Anders

    • Anders,

      Hm… thats weird…. ‘sensor’ is a must have parameter that i am passing to Google without compromise. Do you use some Secure WP plugins of some sort?
      These plugins sometimes strip parameters from URLs… Can you set up a test page for me with the map on it so I can have a look?

        • Anders,

          Ofcourse I do not want you to remove the security plugin. I am digging into WP docs to find out something that can allow me to force URL parameters. Alternatively, I can download WP security and have a look what they are doing there…

          Having said all that, I still do not have solution ATM. Perhaps I am not doing something the right way, perhaps I need to research more…

          All I can say, that I guess for the time being you have to use other map plugin. But I do want to get back to that, I already had few users complaining about the same thing,

          Cheers

          • I fully understand, thanks a lot. WP is modular and decentralized, thus it’s normal that things like this happen.

            Have a nice day!

            Anders

            ps: You might want to delete my redundant 2nd reply?!

  31. What is the solution for the broken Jquery? My site relies heavily on it and the upgrade broke it. When I deactivate the scripting works again.

  32. Alexander Zagniotov
    Hi David,
    The address specified was returning nothing from Google. I tried what you have provided on Google web, and I got the nearest result, why dont you use the following:
    1280 Boulevard Way #212 Walnut Creek, CA 94595-1102, USA This address immediately came up even on lawyers.com

    Thanks. “1280 Boulevard Way Walnut Creek, CA 94596″ used to return results as late as version 6.0.0. Others reporting the grey box issue are likely experiencing a similar problem. You might want to include a little warning that is displayed in the event that nothing is returned from google.

  33. I updated from 5.0.3 to 6.0.1 and my website has jquery problems. Do you mind posting up the download link to the previous version?

    • Can you Please let me know your website blog URL where the map is?
      I want to have a look at your problem, perhaps the problem is not due to plugin upgrade.
      6.0.1 resolves some jQuery conflicts wih other jQuery versions.

      Have you upgraded only this plugin or some others too? Can you let me to have a look before downgrading?

  34. Hi, is it possible to re-enable zooming with the mouse wheel on these maps? I saw in the other comment posts that you were going to add an option to remove it, but I don’t see how to turn it on for my map. Thanks, this is a sweet plugin!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>