From MediaWiki.org
Jump to navigation Jump to search

Other languages:
Deutsch • ‎English • ‎Nederlands • ‎asturianu • ‎dansk • ‎français • ‎polski • ‎русский • ‎中文 • ‎日本語
Starting with the 4.0 release this extension incorporates all the functionality from the now obsolete Semantic Maps extension.
MediaWiki extensions manual
Crystal Clear action run.svg
Release status: stable
Implementation Parser function, Tag
Description Allows users to display maps and coordinate data using multiple mapping services.
Author(s) Jeroen De Dauw and others
Latest version See RELEASE NOTES
MediaWiki 1.27+
PHP 7.1+
Database changes No
Composer mediawiki/maps
License GNU General Public License 2.0 or later
Example Maps examples
Hooks used
Translate the Maps extension if it is available at translatewiki.net
Check usage and version matrix.

The extension Maps enables your MediaWiki pages to visualize geographic data with dynamic, JavaScript-based mapping APIs such as Google Maps, OpenStreetMap, and OpenLayers in your wiki pages. It has built-in support for geocoding, displaying maps, displaying markers and geospatial shapes, adding pop-ups, and more and allows extensive customization per map, or for all maps on your wiki. For more information, including installation instructions, see the documentation on GitHub. The semantic part of extension adds semantic capabilities to this extension. This includes the ability to add, edit, aggregate and visualize coordinate data stored through the Semantic MediaWiki extension.

Download and installation[edit]

See the installation instructions.


See the user documentation.

Gallery of examples[edit]


Some screenshots of inline maps created using the display_map parser hook:


Some screenshots of Semantic MediaWiki :

External links[edit]

Responsive Skins[edit]

The following needs to be added to "MediaWiki:Common.css" to make the maps show correctly in a responsive skin, e.g. the Foreground skin:

/* fix google maps little man in responsive skin */
.gm-style img {
    max-width: none;

The reason is that maps are being written directly as a div container and unfortunately the skin's CSS is the entire site for the img attribute.

See also[edit]