Once the geographic information has been attached to the node, this module allows several different ways to display this information in a map embedded into the node content.

It is possible to show node's geographic information using the Mapstraction CCK formatters provided by the module. There are two different formatters; the single formatter, which shows the geographic field information in a single map for each field and the grouped formatter, which display the information of the selected fields grouped into a single map.

Also provided is a submodule that allows user to include Mapstraction maps with the node geographic info embedded in the node's body. This submodule is called Mapstraction CCK Inline and gives the ability to embed maps in a node content in a fully customized way using macros. You can customize your map using these parameters:

  • field:You can select comma separated the fields you want to show in the map.
  • features:You can display a list of custom features described in WKT format.
  • provider:You can select the map provider.
  • georss:You can show in the map results from a GeoRSS feed.

For example:[mapstraction field=geo features={POINT(0 0); POINT(1 1); LINESTRING(0 0 , 10 10)} georss=http://developer.yahoo.com/maps/sample.xml provider=google] Will show a map using Google Maps as provider with geometries from field geo, the features included in WKT format and geometries from the feed http://developer.yahoo.com/maps/sample.xml