Extension:SlippyMap

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.

Installation

 * Checkout a copy of the SlippyMap extension code to:


 * Add to the LocalSettings.php file:

Note: this extension is under active development, so is not stable.

Synopsis
The extension allows users to embed a slippy map using the following syntax in their wiki code:



Deprecated older syntax like this (support should now be removed):

lat=51.485|lon=-0.15|z=11|w=300|h=200|format=jpeg

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

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.
 * 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.)


 * 
 * 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: (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 1765 streets (55% completed at the moment, Aug 2009) and for POIs.


 * AW-Wiki
 * regional wiki for the administrative district Ahrweiler, a region in the north of Rhineland-Palatinate, Germany.

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