Adds various mapping features to MediaWiki

Installs: 14 074

Dependents: 2

Suggesters: 0

Stars: 25

Watchers: 13

Forks: 23

Open Issues: 51



3.8.2 2016-09-22 03:18 UTC


Maps is a MediaWiki extension to work with and visualise geographical information.


  • Powerful #display_map parser hook for embedding highly customizable dynamic maps into wiki pages.
  • Support for multiple mapping services: Google Maps, OpenLayers, OpenStreetMap and Leaflet.
  • Coordinate formatting and format conversion via the #coordinates parser function.
  • Geocoding via several supported services with the #geocode parser function.
  • Geospatial operations
    • Calculating the distance between two points with #geodistance
    • Finding a destination given a starting point, bearing and distance with #finddestination
  • Distance formatting and format conversion via the #distance parser function.
  • Visual map editor (Special:MapEditor) to edit #display_map wikitext.
  • Structured data support provided by the Semantic Maps extension.

View the release notes for recent changes to Maps.

User manual

Project status

Build Status Scrutinizer Quality Score Dependency Status

On Packagist: Latest Stable Version Download count


Feel free to fork the code on GitHub and to submit pull requests. We have a list of enhancements that newcommers can work on easily.

You can run the PHPUnit tests by changing into the tests/phpunit directory of your MediaWiki install and running

php phpunit.php -c ../../extensions/Maps/

You can run the MediaWiki independent tests by running composer unit in the root directory of Maps. All tests in tests/phpunit are MediaWiki independent, with those depending on MediaWiki residing in tests/Integration.

Credits to other projects


This extension uses code from the jQuery library. jQuery is dual licensed under the MIT and GPL licenses.


This extension includes code from the OpenLayers application. OpenLayers is an open-source product released under a BSD-style license.


This extension includes a copy of the geoxml3 KML processor. geoxml3 is released under the Apache License 2.0 license.


This extension includes code from the google-maps-utility-library-v3 (googleearth.js). It is released under the Apache License 2.0 license.


This extension includes the OpenStreetMap.js file which can be found here.