MediaWikiThe project that runs Wikipedia has added improved mapping extensions that let you embed Yahoo or Google Maps within your Wiki pages. Special markup is translated to API calls, which keeps out JavaScript that would be required if creating maps directly.

Once the Maps extension is installed, anyone editing a MediaWiki page can include the familiar Wiki syntax with curly brackets. For example, use this code to display a point:

{{#display_point:coordinates=55.7557860, 37.6176330}}

Or use the city name (or address) and have the geocoding performed automatically:

{{#display_address:address=Moscow, Russia}}

MediaWiki Maps on OpenLayers

Since this is an extension, it is an optional addition to MediaWiki. Therefore, don’t expect to be able to use maps on Wikipedia or other sites unless you know the administrator has installed the extension.

So far you can choose from three mapping providers: Google, Yahoo and OpenLayers (which uses underlying maps from many providers). This might remind you of the JavaScript wrapper library Mapstraction (our Mapstraction API profile), which provides a single syntax to access a dozen mapping APIs.

Hat tip: slashgeo

Sponsored by

Zembly connects your API with thousands of developers


Go to Source

Related posts:

  1. Get JavaScript Access to Google’s Flash Maps API
  2. Practice Abstract Maps with Mapstraction Sandbox
  3. About:Me Firefox extension shows what you’ve been up to
  4. Google green-lights extension which clearly violates its own policies
  5. Web-based image editor Aviary releases Google Chrome capture extension

Leave a Reply

 
Special Offers
Blogroll

Pages
Tags