Release status: stable
|Description||Allows users to display maps and coordinate data using multiple mapping services.|
|Author(s)||Jeroen De Dauw and others|
|Last Version||0.6.6 (2010-8-26)|
|MediaWiki||1.15.* or higher|
Maps is the MediaWiki extension that provides the ability to dynamically visualize geographic data in your wiki pages and handle geographical data! This page contains information about the extension; see the user manual for more info on how to use it.
Due to Maps modular build, modifying the mapping service of a map is as easy as changing a single map property! These mapping services include Google Maps, Yahoo! Maps, OpenLayers and OpenStreetMap. These allow you to display maps with Google Earth, Bing maps, OpenStreetMaps, and others.
Semantic Maps is an extension built on top of maps, and adds semantic capabilities to it. When using Semantic MediaWiki, it is highly recommended to use Semantic Maps together with maps, since it will make coordinate insertion even easier.
Both Maps and Semantic Maps are partly based on Semantic Google Maps and Semantic Layers, and are meant to replace those extensions. Maps contains all functionality of Google Geocoder, and so also replaces this extension.
Maps parser hooks
|Parser hook||Description||Minimum version||Maximum version||Parser function available||Tag extension available|
|Coordinates 0.6.x||Formats coordinates||0.6||Still in use||Yes||No|
|Display map 0.6.6||Simple map display without markers||0.5||Still in use||Yes||No|
|Display points 0.6.6||Map display with one or more markers||0.1||Still in use||Yes||No|
|Distance 0.6.6||Distance conversion||0.6.2||Still in use||Yes||No|
|Finddestination 0.6.6||Finds the destination given a starting point, initial bearing and a distance||0.6||Still in use||Yes||No|
|Geocode 0.6.6||Converts addresses to coordinates||0.1||Still in use||Yes||No|
|Geodistance 0.6.6||Calculates the distance between two points||0.6||Still in use||Yes||No|
|Name||Required||Recommended Version||Supported Versions|
|MediaWiki||Yes||1.18 or above||1.17 or above|
|Validator||Yes||0.4.13||0.4.x later then 0.4.10|
For a complete list of downloads, including obsolete and experimental releases, go to the Google code download page. If you have MediaWiki 1.17 or above, simply get the latest version. If you are using MediaWiki 1.15.x or 1.16.x, get the latest 0.7.x release.
You can also download the code directly via SVN from the MediaWiki source code repository, at http://svn.wikimedia.org/svnroot/mediawiki/tags/extensions/Maps/REL_1_0_5. From a command line, you can call the following:
To get the latest changes, you can download the code directly from the trunk. Note that trunk requires MediaWiki 1.17 or above.
svn checkout http://svn.wikimedia.org/svnroot/mediawiki/trunk/extensions/Maps
For MediaWiki 1.15.x and 1.16.x installs, you can get the latest Maps 0.7.x code from this branch:
svn checkout http://svn.wikimedia.org/svnroot/mediawiki/branches/Maps0.7.x
Note that this is discouraged when stability is a big concern.
To update a branch, use:
- Semantic Maps always comes bundled with a compatible version of Maps.
- Semantic Bundle is a pre-packaged bundle of extensions for use with wikis that are based around the Semantic MediaWiki extension.
Compatibility and dependencies
You can see the dependencies of the current release in the box on the right. For a full list of dependency tables of all releases, see the Maps dependencies category.
In order to use Maps, you need to have Extension:Validator installed.
But if you get a distribution from this page, you do not need to bother with this, since Validator comes bundled with every release, and will automatically be loaded by Maps. If you get Maps from SVN trunk, or a tag, you must make sure you also install Validator.
Once you have downloaded the code, place the 'Maps' directory within your MediaWiki 'extensions' directory. Then add the following code to your LocalSettings.php file:
require_once( "$IP/extensions/Validator/Validator.php" ); # Validator must be included *before* Maps. require_once( "$IP/extensions/Maps/Maps.php" ); # Maps
Once you have successfully installed Maps, please add your wiki to the Sites that use Maps section.
Maps is currently at version 0.6.6, released on 26 August 2010. It is still be considered beta, since some small issues might be present. However, it has been tested quite thoroughly, and should not cause any big problems.
- Version 0.7 (2010-10-15)
- Version 0.6 (2010-05-31)
- Version 0.5 (2009-12-17)
- Version 0.3 (2009-08-14)
- Version 0.2 (2009-07-29)
- Version 0.2.1 (2009-07-30)
- Version 0.2.2 (2009-08-01)
- Version 0.1 (2009-07-20)
Maps has support for English, Afrikaans, Arabic, Belarusian, Bulgarian, Breton, Bosnian, Catalan, German, Lower Sorbian, Greek, Spanish, Basque, Finnish, French, Friulian, Galician, Swiss German, Hebrew, Croatian, Upper Sorbian, Hungarian, Interlingua, Indonesian, Japanese, Ripoarisch, Luxembourgish, Macedonian, Dutch, Occitan, Polish, Piedmontese, Portuguese, Brazilian Portuguese, Romanian, Tarandíne, Russian, Slovak, Swedish, Thai, Vietnamese and others.
Work for hire
The following people can be hired to set up a wiki that uses Maps and Semantic Maps, along with other MediaWiki components.
- Jeroen De Dauw - You can also hire me to develop new features for Maps or it's extensions, or do optimizations for your specific needs. Just send me an email.
If you have any Maps related questions, you can add them to the Maps talk page. You can alternatively also place any questions on the MediaWiki tech mailing list, wikitech-l. If possible, add "[Maps]" at the beginning of the subject line, to clarify the subject matter. Please contact the extensions authors only directly for urgent matters. Placing your questions on the talk page will create useful references for other people with similar problems.
Supporting further development
Are you using Maps, and want to show a sign of gratitude for it's development? You can make a donation to support further development.
- Extension page on mediawiki.org
- Blog posts of the author about Maps
- Maps display_map screencast
- Maps display_point screencast
- Powerpoint presentation about MediaWiki, SMW, Maps and Semantic Maps 0.5.3 used at a presentation in Gent, February 2010.
- Powerpoint presentation about Maps and Semantic Maps 0.4 used at Semantic MediaWiki Camp 2009.