A Google map implementation that renders a Google map block based on geo microformat tags embedded in a page.

The locations placed on the google map are obtained by analysing the current page for GEO microformat informaton. When this info exists, a map will be rendered, when there is no location information, no map will appear.

More information on GEO Microformats: http://microformats.org/wiki/geo

There have been a few updates to the GEO microformat since this was originally written, so not every form of the microformat is currently supported.

Example data:

  <div class="geo" title="Canterbury">
    Canterbury, United Kingdom
    <span class="latitude" title="51.2667">[latitude display]</span>
    <span class="longitude" title="1.08333">[longitude display]</span>
  </div> 

Why use this form of mapping ?

The advantage of using this method is that there is no need to do anything fancy to link dynamic data with a map view. If your node teasers contain geo data, then a map will appear and plot the data. The map will zoom to fit all markers.

Limitations

At the moment, the javascript is not really themeable. There will need to be some work done to make maps options customizable.

Sponsorship

Development as been sponsored by Code Positive Ltd (http://www.codepositive.com) and The School Of Everything (http://www.schoolofeverything.com). Additional work and Drupal 7 supplied by Jeremy Chinquist.

Drupal 8

Due to Google's decision to support Schema.org markup and structural changes to Geospatial data management in the GeoField, Geolocation and Location modules, the Geomap module is not well defined and its role is redundant. If there is interest to upgrade this module and change its role to better suit the Drupal 8 world, please contact me (jjchinquist). I currently have no plans to work on a Drupal 8 version of Geomap.

7.x-3.1

The 3-x branch makes use of the Geolocation module to store the data. The previous sub-module Geomap CCK is removed and the Geomap Fields sub module is added. Geomap Fields includes a display option for Geolocation fields.

The base Geomap API is almost identical to 7.x-2.x.

7.x-2.x

This is a direct upgrade of the 6.x-2.x module and was only a stepping stone for 7.x-3.x. It is highly suggested to upgrade to 3.x on a per-site basis. A development version of 7.x-2.x is present through git. This version will be made public for those who need it as dev only. Please consider upgrading to the 3.x version.

6.x-2.1

Some bugs were removed, and most importantly, the Google Maps API v3 is now supported. Any testing is appreciated.

Versions 1 and 2

With the development of version 7.x-3.x, only bug fixes will be made to older versions. A 6.x-3.x version will not be created because of dependencies and the lack of the Field API.

Project information

  • caution Seeking new maintainer
    The current maintainers are looking for new people to take ownership.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • chart icon60 sites report using this module
  • Created by the greenman on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    Look for the shield icon below.

Releases