Extension:Google Maps

From MediaWiki.org
(Redirected from Extension:GoogleMaps)
Jump to: navigation, search

Introduction - Installation - Editor's Map icon - Coding instructions - Compatibility - Languages - Developers - Talk

MediaWiki extensions manual - list
Crystal Clear action run.png
Google Maps Extension

Release status: beta

Google Maps Extension Type Selector.jpg
Implementation Tag
Description Create Google maps populated with wiki-fied place markers.
Author(s) Evan Miller et al.
Last version 0.9.43 2012-03-12
MediaWiki 1.5 and up
Database changes no
License GPL
Download

Check usage (experimental)
Bugs: list open list all report

Maps are a great way to present information, and the Google Maps Extension brings the coolness of interactive, annotated maps to your wiki. With Google Maps Extension, you can:

  • Spice up articles with maps of anywhere in the world
  • Marvel at detailed street maps and stunning satellite imagery
  • Use the interactive editor's map to add markers and colored paths with wiki-fied captions
  • Look up cities, addresses, and businesses with the built-in search engine

Contents

[edit] Google Maps Javascript API

Note: The Google Maps Javascript API Version 2 used by this extension has been officially deprecated as of May 19, 2010 by Google.

[edit] What does it do?

The extension hooks into your MediaWiki installation in two ways: first, it defines a <googlemap> tag that translates a special syntax into a map with captioned markers. As the name implies, the extension is powered by the miraculous Google Maps API. The extension's syntax is easy; here's an example that will create a map with two captioned points:

<googlemap lat="32.82422" lon="48.481141">
32.81134, 48.498341, One of many [[gas stations]] in town
32.82448, 48.504848, The [[town hall]]
</googlemap>

To help you make maps, the extension also adds a link on each Edit page that says "make a map". This will bring up an editor's map that you can click on to add points, and it will show you corresponding map syntax to paste into your article.

If you're interested, try out the demo (click "make a map" on that page) and then check out the installation page.

[edit] How to Install?

Check out the installation page.

[edit] Screenshot

Here's is a screenshot of the Editor's Map icon working:

Google Maps Extension Editors Map.jpg

[edit] How stable is it?

Google Maps Extension is still BETA, but it's come a long way since 2005. It works for a lot of people (see below) but people regularly find bugs. You can get an idea of the issues people have had over on the talk page.

The following will be addressed before a 1.0 release:

  • Performance improvements. Google Maps Extension currently slows down the page load time of the "edit" page for ALL articles. FIXED in 0.9.2.
  • Compatibility with FCKeditor
  • Better support for custom markers
  • Better support for custom map tiles
  • Visual interface for creating tabbed info balloons

Email me if you'd like to sponsor development of any of these features: emmiller@gmail.com


[edit] Who's using it?

Please add the map page of your wiki here.

[edit] See also

  • Maps – Extension that supports multiple mapping services and allows geocoding.
  • Semantic Maps – Adds semantic capabilities to Maps.
  • GM2Wiki™ – russian alternative: Google Maps into any Wiki-projects without this Extension(s).

[edit] External links

Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox