Extension:GoogleMapsFn

The GoogleMapsFn extension defines a parser function that uses Google Maps v3 api to display maps embedded into wiki pages. Optional argument of parser function may be used to display editor, which allows to change map properties as well as to add markers and their descriptions.

Function
Just one function is defined googlemap. Below is the list of named function parameters. Unnamed function parameters are used to define marker position and description (see below).

Examples
In active edit mode:

View-only mode:

Download
If you are familiar with git, current master can be cloned via the following shell command: git clone git://github.com/Dmitri-Sintsov/MW-GoogleMapsFn.git

Otherwise, you may download the latest snapshot from github.

The project page is located here.

Installation
Move or copy folder 'GoogleMapsFn/' into 'extensions/' directory of MediaWiki installation. Place the following line into LocalSettings.php: require_once( "$IP/extensions/GoogleMapsFn/GoogleMapsFn.php" );