From MediaWiki.org
Jump to navigation Jump to search

Other languages:
asturianu • ‎Deutsch • ‎English • ‎français • ‎日本語 • ‎Nederlands • ‎polski • ‎русский • ‎中文
Starting with the 4.0 release this extension incorporates all the functionality from the now obsolete Semantic Maps extension.
MediaWiki extensions manualManual:Extensions
Crystal Clear action run.svg

Release status:Extension status stable

ImplementationTemplate:Extension#type Parser function, Tag
DescriptionTemplate:Extension#description Allows users to display maps and coordinate data using multiple mapping services.
Author(s)Template:Extension#username Jeroen De Dauw and others
Latest versionTemplate:Extension#version See RELEASE NOTES
MediaWikiTemplate:Extension#mediawiki 1.27+
PHPTemplate:Extension#php 7.1+
Database changesTemplate:Extension#needs-updatephp No
ComposerComposer mediawiki/maps
LicenseTemplate:Extension#license GNU General Public License 2.0 or later
ExampleTemplate:Extension#example Maps examples
Hooks usedTemplate:Extension#hook

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 MediaWikiExtension: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 MediaWikiSemantic 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 ForegroundSkin: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]