Extension:SlippyMap
SlippyMap Release status: beta |
|||
---|---|---|---|
Implementation | Tag | ||
Description | Easily embed OpenStreetMap maps, with marker support. | ||
Author(s) | Harry Wood, Jens Frank, Grant Slater, Raymond Spekking, Ævar Arnfjörð Bjarmason, Christian Becker, Aude and others | ||
License | GPL | ||
Download |
Download snapshot[?] (Git | SVN)
Git [?]: repo summary • tree • code changes SVN [?]: checkout-url • tree • code changes |
||
|
|||
Check usage (experimental) |
As noted on the talk page, "Development on this extension will most likely not continue. You will be better off using Extension:Maps."
The SlippyMap extension allows embedding of slippy maps by bringing in the OpenLayers JavaScript library. It's pluggable so that (with the right configuration) multiple free map sources can be included, but it's being aimed especially at embedding OpenStreetMap maps.
It's a fork of the Slippy Map MediaWiki Extension hosted in OpenStreetMap SVN and is being hacked to allow it to be deployed on Wikimedia projects, but currently a lot of bugs are standing between it and that objective.
Contents |
[edit] Installation
- Checkout a copy of the SlippyMap extension code to
/extensions/SlippyMap
- Add to the LocalSettings.php file
require_once( "$IP/extensions/SlippyMap/SlippyMap.php" );
Note: this extension is under active development, so is not stable.
[edit] Synopsis
The extension allows users to embed a slippy map using the following syntax in their wiki code:
<slippymap lat="52.1295" lon="-0.4644" zoom="13" w="400" h="150"/>
Deprecated older syntax like this (support should now be removed):
<slippymap>lat=51.485|lon=-0.15|z=11|w=300|h=200|format=jpeg</slippymap>
Users can discover suitable latitude logitude and zoom values by doing the following:
- Edit the page
- Use the slippymap syntax with any old values e.g. paste in the above example
- Doing a preview
- zoom/pan the right position,
- Use the 'Get wikicode' button
- Copy and paste the resulting wiki code into the editing box
- Save the page
[edit] Who's using it?
Please add your wiki here! Add it to the top, and feel free to add a link to your favourite article or two.
- LinzWiki
- LinzWiki is a wiki about the Upper Austrian city Linz and uses slippymap to show the location of streets and sights.
- Map Kibera
- The first complete, free and open map of Kibera, Nairobi
- Wiki-Brest
- We are beginnig to use this extension, waiting for improvements, and involved in OpenStreetMap community around Pays de Brest (exemple Quartiers de Brest)
- openstreetmap.org
- This is where this extension originated see 'Slippy Map MediaWiki Extension' page. Currently forked a version of the code in the OSM repo, but trying to re-sync (
and swap to using the new syntax- using new syntax.) - Translatewiki:
- Just to let others know where you live, or feed them misinformation... e.g.: Translatewiki:User:Raymond/Kölner Dom. Newish version (latest syntax)
- Fürthwiki
- We use OSM & SlippyMap whenever we describe streets, important buildings or sights: [1] (old version old syntax)
- e4pedia
- We use it for locating our bases and events (example)
- Wikivoyage
- We use the maps in the articles of the locations like Münster and at the MapSources special page like this for Innsbruck. The authors can use the OpenStreetMap template to put it to the articles in an easy manner.
- Hitchwiki
- Free content collaborative website for hitchhikers from hitchhikers with lots of information on hitchhiking and other alternative ways of transport as well as hitchhiking spots all over the world.
- Altmarkwiki
- regional wiki for the Altmark, a region in Saxony-Anhalt, Germany.
- Hamm Wiki
- Wiki for the City of Hamm, Germany. One SlippyMap for each of the 1.800 streets and for POIs.
- AW-Wiki
- regional wiki for the administrative district Ahrweiler, a region in the north of Rhineland-Palatinate, Germany.
- Wiki Val d'Ille
- We try to use this extension and involve in OpenStreetMap community on the Communauté de communes.
[edit] Development
- The buglist for this extension in MediaZilla. Please add bugs and feature requests there
- See /Static map generation for notes on generating static maps in Wikimedia context
- See /Cassini/Setup_notes for notes on setting up the whole stack on cassini.toolserver.org
![]() |
This extension is being used on one or more of Wikimedia's wikis. This means that the extension is stable and works well enough to be used by such high traffic websites. A full list of the extensions installed on a particular wiki can be seen on the wiki's Special:Version page. |
Language: | English • 日本語 |
---|