Maps is a MediaWiki extension to work with and visualise geographical information.
Features:
- 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
- Calculating the distance between two points with
- 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] (https://www.mediawiki.org/wiki/Extension:Semantic_Maps).
View the release notes for recent changes to Maps.
On Packagist:
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/
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.