Extension:AmMap

From MediaWiki.org
Jump to: navigation, search
MediaWiki extensions manual
Crystal Clear action run.png
amMap

Release status: beta

AmMapExtension.png
Implementation Parser extension, Tag
Description Allow an easy way to include amMaps to your Wiki
Author(s) Isaac Contreras (fladeitalk)
Latest version 0.1 (August 18th 2011)
MediaWiki 1.16.0
PHP 5.2.11
License No license specified
Download Download
Example amMap on Wikiprogress.org
Tags
<ammap/>

Translate the AmMap extension if it is available at translatewiki.net

Check usage and version matrix; code metrics

What can this extension do?[edit | edit source]

It allows you to add an AmMap to any page on your wiki.
AmMap is a tool for creating interactive Flash maps. You can use this tool to show locations of your offices, routes of your journeys, create your distributor map, etc. Photos or illustrations can be used as layers and backgrounds of maps, so you can make different presentations, e-learning tools and more.

Usage[edit | edit source]

Add the following code:

 <ammap width="XXXXpx" height="XXXXpx" color="#XXXXXX" settings="XXXX.xml" data="XXXX.xml" />

Installation[edit | edit source]

To install this extension, add the following to LocalSettings.php:

#AmMap extension
require_once("$IP/extensions/amMap/amMap.php");

Configuration parameters[edit | edit source]

  • width: the width of the flash map. Must be specified with "px" or "%". Default to 100%
  • height: the height of the flash map. Must be specified with "px" or "%". Default to 100%
  • color: background color of the map in hex code. Default to #FFFFFF
  • settings: The XML settings file name. It must be inside the /extensions/amMap/data/ folder. Default to an example map.
  • data: The XML data file name. It must be inside the /extensions/amMap/data/ folder. Default to an example map.