Geomap

DESCRIPTION:

The Geomap module will render a Google map in a block.

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

Getting Started

Once Cartaro is installed you will find yourself in a basically empty Drupal instance. Of course if you've chosen to install sample data these will now be present, too. The first steps are probably setting up users, roles, content types and custom theme to suit your case.

Comparison of Mapping modules

This page aims to provide developers and site builders some navigation on the sea of options for the mapping of location data sets in Drupal D7. This is by no means an extensive survey. The idea is that by listing a number of the most popular modules side by side with their features, it will make it easier for the reader to shortlist modules for their specific needs before examining details on the various project and documentation pages.

In general you'll need at least two modules to create maps from location data: one to provide a location data storage facility and one to render the locations as markers on a map.

Examples of location storage modules are: Location, Geofield and Geolocation field and Get Locations.

Additionally, while the table below indicates required location storage methods (such as "Geofield" for "Leaflets"), it is in fact possible to deploy a module such as Geocoder to, for example, use Location as a storage method for Leaflet or OpenLayers.

Leaflet

The Drupal 7 Leaflet module provides integration with Leaflet, the modern open-source JavaScript library for mobile-friendly interactive maps.

Leaflet currently offers:

  • Field formatter that can show a map for fields that contain geospatial data
  • Views integration that plots data on a map (using the sub module Leaflet Views)
  • API for displaying data on a map

Leaflet extension modules

  • Leaflet Markercluster - Provides Beautiful Animated Marker Clustering functionality for Leaflet using the Leaflet MarkerCluster library.
  • Leaflet Widget for Geofield - a Geofield widget that uses the Leaflet widget plugin for adding and removing geometries.
  • Leaflet More Maps - adds over 20 attractive map styles such as MapBox, Stamen, Thunderforest and Esri.
  • Leaflet MapBox - use your own MapBox map tiles in your map views.

Geocoder

Geocoder is a Drupal 7 module that will extract (geocode) geographical data from just about anything you throw at it such as addresses, GPX files, Geotags from EXIF data in photos, and KML files.

A convenient way to allow users to enter an address and have it automatically geocoded is to use it in combination with the Addressfield and Geofield modules.

Geocoder uses the external geocoding services from Google, Yahoo and Yandex.

Don't confuse the Geocode and Geocoder modules. Geocode is only available for Drupal 6.

Install

Install and enable the Geocoder module and its required modules geoPHP and Chaos tool suite in the usual way. Install and enable the optional modules Addressfield and Geofield.
Learn more about installing Drupal modules.

Configure

Assign the necessary permissions at /admin/people/permissions#module-geocoder

If you have enabled the modules Addressfield and Geofield you can start using Geocoder in a content type, e.g., an event.

Geographical data and mapping

Drupal is an amazing tool for mapping. It integrates with a lot of libraries, technologies and third party services. There are solutions for simple maps but also for complex mapping needs.

There isn't one ideal solution, because it depends of the project. Although, there is always a path: input > storage > process > output, some modules may provide more than one of these steps.

If you're beginner, there is possibility to make simple-to-intermediate maps without any coding. This documentation section contains a description of main modules to help you on your selection.

Widely used approaches

There are several approaches:

Subscribe with RSS Subscribe to RSS - geo