Monday, 20th February 2012 at 1:58 pm | 26 Comments »

Fixed bug in WP Geo 3.2.6.3 where maps weren’t showing in admin.

Sorry if this caused any inconvenience.

26 Responses to “WP Geo 3.2.6.4”

  1. Arnab says:

    Where can i see a demo of this plugin?

    Thanks!
    Arnab

  2. Foodnut says:

    I am still using version 3.0.9.2. Any newer one including 3.2.6.4 does not have the map show up!

  3. Foodnut says:

    Latest version of WP 3.3.1. This is the map in the create a post screen, not on the main site.

    I’ll add this to the issues log.

  4. srht says:

    Where can i see a demo of this plugin?

    Thanks!

  5. Cro says:

    Hi, Good Plugin. Whether it can work with Google Maps JavaScript API v3 ? Thx.

  6. Cro says:

    Thank you for your work.
    Another question .. how to make that map does not repeat itself, if its scope to go beyond

  7. Cro says:

    Can be done to the map is not repeated?

  8. Pescadito says:

    You have a wonderfull plugin,
    but in WP3.3.1 when i click in the wp-geo box of post edit page, the mouse doesn’t insert the position icon.
    Could you verify what is needed to insert the position icon?
    Best regard, Pescadito

    • Ben says:

      Did you auto-upgade the plugin through WordPress?
      If not then deactivate and reactivate the plugin.
      It’s also worth going to the WP Geo settings and re-saving them.

      If that doesn’t work, are you able to tell if you have any javascript conflicts in the page?
      Have you tried disabling all other plugins and trying the default WordPress theme to check it’s not a conflict?

      Failing that, let me know which browser you are using and I’ll see if I can re-create the issue.

  9. pescadito says:

    hi ben, i follow your recomendations…

    i deactivate all plugins, then activate WP-Geo and Custom Post Type UI beause i have a custom post type called ‘propiedad’. Then i verified that wp-geo edit box worked well when i create a new post or a new ‘propiedad’, and also when i edit a existing post. But it fail when i edited a existing ‘propiedad’. Then i noted that it fail because that ‘propiedad’ post was using custom marker icon and custom map options. But if i returned the options in the ‘propiedad’ post to the default i was able to set the position in wp-geo edit box.

    could verify and treat this behavior?

    best regards, Pescadito

  10. Mike Rawlins says:

    Hey Ben,

    I think the plugin is great and have a slightly off topic post for you.

    I’m using the plugin to geolocate posts and am interested in creating an ARML file for wikitude as part of a larger project I am working on, I read this post on Wikitude http://www.wikitude.com/developer/documentation/wikitude-worlds/wordpress-plugin about using this plugin to create ARML files. After a bit of digging I found the code and have deployed it to my server.

    The code appears to work in so far as it creates an ARML output but there are no locations in it am I missing something or has the plugin changed the way it works quite significantly so the web service I’m trying to run won’t work with it any more?

    Thanks in advance

    Mike

  11. Mike Rawlins says:

    Doh!

    Sorry the code I am using to create the web service can be seen here http://dl.dropbox.com/u/1587159/wikitude.php
    I’ve removed the DB password from this for obvious reasons ;)

    • Mike Rawlins says:

      the output I am getting from that code it here

      http://michaelrawlins.co.uk/wp-content/wikitude/wikitude.php

    • Ben says:

      I’ve done a bit of testing and can confirm that there is an error in their code.

      My test SQL query was as follows.
      It should have located a post with the coord -114.3474516, 34.4716613

      SELECT
      	p.ID AS id,
      	p.post_title AS name,
      	p.post_content AS description,
      	concat(pm1.meta_value,',',pm2.meta_value) AS adress,
      	p.guid AS url,
      	concat(pm1.meta_value,',',pm2.meta_value) AS coordinates
      FROM wpgeo_posts p
      INNER JOIN wpgeo_postmeta pm1 ON p.ID = pm1.post_id AND pm1.meta_key = '_wp_geo_longitude'
      INNER JOIN wpgeo_postmeta pm2 ON p.ID = pm2.post_id AND pm2.meta_key = '_wp_geo_latitude'
      WHERE pm2.meta_value BETWEEN '34.0220210122'
      	AND '34.9213015878'
      	AND pm1.meta_value BETWEEN '-114.797091888'
      	AND '-113.897811312'
      	AND p.post_status= 'publish'
      limit 50

      The error was in the second BETWEEN comparison.
      It searches for a number >= the first number as <= second number so this should be reversed.

      AND pm1.meta_value BETWEEN ‘-113.897811312′
      AND ‘-114.797091888′

      So their code needs reconfiguring to swap the values of $boundingBoxLongitude1 and $boundingBoxLongitude2 (and $boundingBoxLatitude1 and $boundingBoxLatitude2) to ensure they are in the correct order, lowest number first.

      Hope that helps…

  12. Mike Rawlins says:

    That works!

    Ta.. :)

  13. Coco says:

    Hi. Great Job. I have a question. Is possible to extract a general maps whit every post of my blog?

  14. akil says:

    nice plugin for the post maps

  15. hi, last week updated the plugin to version 3.2.7.1 and since then there are the maps on the website I manage

  16. I have use this plugins in one off my web and is nice

Leave a Reply