DIY Map example

This project is not covered by Drupal’s security advisory policy.

DIY map generates clickable, zooming maps written in Flash. You can add points, color countries, add links, and much more. This module adds a layer on top of the Flash application to create and insert the maps into Drupal without having to manually edit an XML configuration file (although you can still write your own XML file).

The flash application has to be added manually and is available from this website : http://www.backspace.com/mapapp/
Please check licence condition before downloading

Some instructions

  1. Install the module (as usual)
  2. Enable it (you also need colorpicker)
  3. Copy the map swf files
  4.   $cd /sites/all/modules/diymap
      $wget http://backspace.com/mapapp/world/world.zip
      $unzip world.zip && rm world.zip
    
  5. Create a new DIY Map content (create content/ DIY Map)
  6. There you have a "Map config" section where you can setup the map content

  • Colors : Here you can chose the colors of the elements (background, ...)
  • Zoom : Here you can setup the default zoom level and position
  • Default point : How you want your points on the map
  • States : This probably the most interesting stuff, here you can put values on each state that will color it, depending on the ranges you specify. And you can also put text that will be displayed and a link when the use clicks on the state.
  • Points : Here you can add points on the map
  • Regions : Here you can create a group of states in regions, usefull to use regions as zoom position (i.e. map centered on europe)
  • Ranges : This will allow you to create a data ranges, that will be used to determine the state colors on the map.
  • Custom XML: If you want to use things that are not yet implemented (like circles), you can write your custom XML file here. This is also much easier if working with loads of data.


When creating a DIY Map, a node[nodeID].xml file (in /files/diymap/) will be created, used as the data source for the flash animation.

Project information

Releases