Custom map

This widget allows you to create a custom slippy map from a single image file to your wiki page. It uses the OpenLayers API to create the map.

To insert this widget, use the following code:

Parameters

 * zoomlevels - Available zoom levels for the custom map
 * layername - Name for the layer
 * file - path to the image file (needs to be a relative or absolute file path)
 * filewidth - Width of the file (does not need to be exact width of the image. If you change them, you will either enlarge or reduce the image for the default)
 * fileheight - Height of the file (does not need to be exact height of the image. If you change them, you will either enlarge or reduce the image for the default)
 * ifile - optional path to the image file for iPhone/iPod Touch/iPad users (needs to be a relative or absolute file path)
 * ifilewidth - Width of the file
 * ifileheight - Height of the file
 * width - Width of the map window
 * height - Height of the map window

Because Apple mobile products may not be able to display large PNG and GIF based images (OK for smaller images), the ifile parameters allow you to specify an alternate file (like in JPEG format, in which the image quality won't be as good) for Apple devices. If no ifile parameters are specified, the Apple devices will display the main file if they can display them.