Extension:UK geocoding for Maps
|UK geocoding for Maps
Release status: experimental
|Description||Extends Maps with a display_uk_point parser function with Google Maps implementation|
|Author(s)||Jeroen De Dauwtalk|
|Translate the UK geocoding for Maps extension if it is available at translatewiki.net|
|Check usage and version matrix.|
The goal of this extension is to provide a way to display UK postcodes on Google Maps maps, by extending the Maps extension. Since obtaining geocoded postcodes for UK Postcodes via Google services is only possible using the Google AJAX search API, the standard geocoding infrastructure of Maps could not be used, and this extension should be seen as a sort of hack. Initial development for this extension was funded by Neill Mitchell for Prescient Software Ltd.
Version 0.1 is an experimental release, in which multiple issues are expected. I'm hoping to polish the whole extension a little more once I have some free time. Bug reports are welcome though.
Download and installationEdit
You can get version 0.1 from SVN at
Once you have downloaded the code, place the 'UKGeocodingForMaps' directory within your MediaWiki 'extensions' directory. Then add the following code to your LocalSettings.php file:
# UK Geocoding For Maps require_once( "$IP/extensions/UKGeocodingForMaps/UKGeocodingForMaps.php" );
The inclusion line needs to be placed AFTER the inclusion of Maps. Then get a Google AJAX search API key if you don't already have one (here), and place it in your LocalSettings file after the inclusion of this extension.
# Your Google AJAX search API key. Required for displaying Google Maps with the display_uk_point(s) parser function. $egGoogleAjaxSearchKey = 'your key here'; # http://code.google.com/apis/ajaxsearch/signup.html