Skip to content

Latest commit

 

History

History
93 lines (66 loc) · 4.06 KB

README.md

File metadata and controls

93 lines (66 loc) · 4.06 KB

Maps

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
  • 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.

User manual

Project status

Build Status Scrutinizer Quality Score Dependency Status

On Packagist: Latest Stable Version Download count

Contributing

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/

Credits to other projects

jQuery

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

OpenLayers

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

geoxml3

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

google-maps-utility-library-v3

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

OpenStreetMap.js

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

Links