Extension:IncludeBikemap

What can this extension do?
The IncludeBikemap extension is a simple tag extension to embed a bicycle tour map from bikemap.net in a mediawiki page. Bikemap.net offers to embed maps in an iframe in personal homepages (note: this extension is not offered by bikemap.net but written by a user).

Note: This extension isn't yet tested extensively, especially as concerns security issues and it is suggested to use it only with caution and at your own risk.

Usage
ID

ID is the number of the bike route in the url. For example ID for www.bikemap.net/route/817755 is 817755.


 * optionally

change the size of the embeded map

ID

Size can be "small", "medium" or "big".

ToDo
Not yet performed:


 * extended view (e.g. show altitudes of the route in a small diagram)
 * change heigth and width manually as needed (currently only three fixed sizes are supported)
 * make openstreetmap the default if possible
 * choose the map (osm, googlemaps) with tag attribute

Download instructions
Please cut and paste the code found below and place it in. Note: $IP stands for the root directory of your MediaWiki installation, the same directory that holds LocalSettings.php.

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