Saturday, 8th November 2008 at 2:55 pm | 6 Comments »

Version 3.0 of WP Geo is a bit of a move on from the previous version with lots of minor tweaks and some new features.

Map of Mount Snowdon

Some of the most significant new features include:

  • More settings
  • Sidebar widget
  • Custom markers
  • GeoRSS points in feeds

There have also been many bug fixes including the suppression of the alert box that appears if you haven’t entered a Google API Key.

More Settings

WP Geo now has many more default settings which give you control over:

  • Map type
  • Where to display maps in posts/pages
  • Map size
  • Map zoom
  • Map type controls
  • Map pan and zoom controls
  • Showing other controls
  • Which parts of your blog should display maps
  • Adding GeoRSS data to rss feeds

General Settings

Sidebar Widget

A new, often requested, addition to WP Geo is the sidebar widget.

The widget displays a mini-map with mini-controls and mini-markers – see below about the custom markers added in WP Geo 3.0.

The widget will show markers for all geo-tagged posts on the current page so if you are viewing a single post you will see one marker. If you are browsing a category or archive page the widget will display markers for all posts with location details on that page. If there is no location information for any posts on the page, the widget will simple not show.

Many of you will be pleased to here that the markers on the WP Geo widget are clickable to link to the relevant post! This is a feature that will be rolled out to all maps in future versions.

WP Geo 3.0 - Widget WP Geo 3.0 - Widget Tooltip

The tooltip is based on the Custom Tooltips for Google Maps javascript by Marco Alionso Ramirez.

WP Geo 3.0 - Widget Config

The widget has basic configuration settings. You can set a title which will appear above the map if your theme permits. You can set the map size – I recommend setting the width to 100% which should stretch to the full width of your sidebar in most themes. And you can set the map type.

Custom Markers

WP Geo now uses custom marker images. The marker images are automatically copied to your WordPress uploads folder and used by WP Geo so that when you upgrade you don’t have to worry about overwriting them. A copy of these images will remain in the WP Geo plugin folder in case you need to revert to them at any time.

Marker Settings

If you want to customise the marker images I suggest you edit the ones created in your uploads folder – they must be PNG files. Each marker consists of a marker image and a shadow image. If you do not wish to show a marker shadow you should use a transparent PNG for the shadow file.

Currently you must update this images manually and the anchor point must be the same (you can found out this information on the settings page). Looking to provide more control in future versions.

GeoRSS points in feeds

GeoRSS is an evolving standard to encode location in RSS and Atom feeds. As RSS and Atom become more prevalent as a way to publish and share information, it becomes increasingly important that location is described in an interoperable manner so that application can request, aggregate, share and map geographically tagged feeds.

<georss:point>52.24125614966341 -0.3515625</georss:point>

The above example shows how WP Geo now uses GeoRSS-Simple encoding to include location information in your blog’s RSS and Atom feeds.

So, what do you think?

Please post your feedback on this version of WP Geo by leaving a comment below. Please also let me know if you find any bugs or theme compatibility issues.

6 Responses to “WP Geo 3.0”

  1. ceti says:

    This is great and looking cleaner and better with every release. Perhaps the next version will have a way to set the default zoom, as well as an option to show all coordinates from all posts in the widget map (don’t know enough of wordpress’ php coding to my to modify the posts loop). I think for a widget, this would be useful to a lot of users who want to be able to jump around.

  2. markus says:

    Hi,

    this is a great plug-in, thanks for all the work you put into this. I have just two issues I can’t really resolve and hope you can help me:

    1. When I use the Sidebar-Widget on the home page, the map does not render, allthough the widget shows up. I did not activate the “Show Maps on home page” option because I only want one map with all entries in the sidebar. Any Idea how to fix it?

    2. The Bigger issue: I would like to show a map with all entries from one category on a overview page. I created a new page template and included the map there:
    http://www.ichhabeeinenstempel.de/die-weltkarte/

    but I can’t get the map to render all posts from a specific category. Do you have any Idea how to fix it?

    Thanks a lot
    Markus

    • Hi Markus,

      Thanks for bringing the widget issue to my attention (point 1). You’re correct in assuming that not checking the “Show Maps on home page” option is the issue. I will need to add in some checks so that if the widget is active the Google Maps scripts are included – oops.

      Many people have asked to be able to show maps of all posts and recent posts. Showing a map of posts within a category would be very similar to implement and this will be included in the next version which I am currently working on.

  3. Markus says:

    Hi,

    great, looking forward to the next version!

    Just a quick question: If I run a loop on a page-template requesting all posts from a specific category, what should I be aware of in order for the map to get the geo-data an render all entries?

    Thanks
    Markus