Mapstraction CCK

This is the basic documentation page of the Mapstraction CCK project.

This project aims to integrate the OpenSource JavaScript Mapstraction library. Mapstraction is a library that provides a common API for various javascript mapping APIs to enable switching from one to another as smoothly as possible.

One of the goals of this module is to integrate in a single module some mapping APIs instead of use a different module for each one. This module provides a fully configurable widget for georeferencing nodes using the Geo module API.It also provides several ways to display maps within nodes and blocks with geographic information. One of the last features developed has been the Views integration, through a new view style called Mapstraction Map, that allows to show the geographic information obtained in a view in a Mapstraction map. This view style is based on the implementation of the Mapstraction module.

This module is under hard development and is undergoing continuous changes and improvements, for better and more updated information, please visit the Mapstraction CCK project page.

To test the module behaviour and properties, you can visit a demonstration site which can perform all available operations. This site is availabe here.

Module requirements

This is a new module and works with the latest stable version of the Geo module. For a suitable module behavior, is needed to use the alpha5 Geo module version, including the patch proposed in:#640492: hook_gis_input info() and widgets issues .
This module is optimized for PostGIS database, and the Proximity filter is only available on this Database server and on a special beta distribution of MySQL Spatial server. You can try this distribution here.

This module is being developed and maintained by Pablo López and Eduardo Riesco, from the IDELab group at Valladolid University, Spain

Configuring content type and usage example

This how-to assumes that the basic Mapstraction CCK config steps were performed.

Geographic information blocks

The Mapstraction CCK module provides two extra blocks with geographic information:

Showing Geospatial information in a node

Once the geographic information has been attached to the node, this module allows several different ways to display this information in a

The Mapstraction CCK widget

This module provides a fully configurable widget that provides the ability to add geographic information to nodes. This widget makes

The Views integration

The Mapstraction CCK module provides a submodule called Mapstraction Views. This submodule implements the Mapstraction CCK module

Third party integration with other modules

Mapstraction CCK offers three different hooks that allow to third party modules the integration with Mapstraction CCK. These hooks provide

Guide maintainers

plopesc's picture