Extension:Maps/Customizing maps

Maps shown with the  parser function can be customized using various parameters. For instance you can change the height of the map using the   parameter. Example:


 * Syntax


 * Result

There are two types of parameters.

The first type you can always use. These include all data display parameters such as  and. They also include a number of basic customization options such as width and height. See below for an overview.

The second type of parameters are only available for a specific mapping service. The supported mapping services are Google Maps and Leaflet. (OpenLayers support was dropped in Maps 7.0.) For instance, only maps using Google Maps have a  parameter. See the dedicated Leaflet parameters and Google Maps parameters pages for more information.

Always available parameters

 * All data display parameters
 *  : The mapping service to use. Can be  or   Defaults to , which can be changed in your wikis configuration.
 *  : Width of the map in pixels or another supported unit. Supported units are px, ex, em and %. Also allows "auto". Default is "auto", which can be changed in your wikis configuration.
 *  : Height of the map in pixels or another supported unit. Supported units are px, ex, em and %. Default is "350", which can be changed in your wikis configuration.
 *  : On which location the map should center. This can be a coordinate or human readable location. Defaults to the locations you provided, if any.
 *  : Default title to show in popups
 *  : Default label to show in popups
 *  : Default icon to use for markers
 *  : Whole number indicating what the maximum zoom level is
 *  : Whole number indicating what the minimum zoom level is.
 *  : If the coordinates of markers should be copyable. Can be  and   (default).
 *  : If the map should be a static image instead of dynamic and interactive. Can be  and   (default).