GoogleMap

AboutUs is running the Google Maps Extension. Please see that page for full documentation.

The simplest version is:
<googlemap lat="45.51959398363291" lon="-122.66432762145996"></googlemap>


View Larger Map

For complete syntax options, please see http://www.mediawiki.org/wiki/Extension:Google_Maps/Syntax

Here's a bit more involved example:

<googlemap lat="48.78" lon="-122.4" type="hybrid" zoom="11">
48.8025, -122.3463, Glen Echo Garden<br /> at 4390 Y Road<br />in Bellingham, Washington
</googlemap>


View Larger Map

Here's a more advanced example:

<googlemap lat="45.51958" lon="-122.664" type="hybrid" zoom="18" width=595>
#770077
(A) 45.51914, -122.6645, [[AboutUs.org]] main office at<br />107 SE Washington, Portland, OR, USA<br />with the marker on the main room where everyone works.
45.51914, -122.66425, the elevator
45.51930, -122.66425, the front door
45.51930, -122.6639, the corner where we cross the street
45.51945, -122.66385, the other side of Stark
45.52000, -122.6637, watch out for the traintracks
(B) 45.52000, -122.6636, around the corner to Produce Row
</googlemap>


View Larger Map

Examples in Action

How to Find Latitude and Longitude

Coordinates can be found using the following link. Just place the address in the "address bar" at the top of the page and the website will provide you with the latitude and longitude of the desired location.

Tag Attributes

QUESTION -- does anybody know what version of the plugin AboutUs has installed? Some of the features in the instructions are not working. -Pete 12:58, 16 June 2008 (PDT)

(The syntax below is copied from this documentation.)

This extension defines a <googlemap> tag. Legal attributes are:

  • width (in pixels; defaults to 450)
  • height (in pixels; defaults to 300)
  • lat (the center latitude on the map, defaults to my old dorm room :-)
  • lon (the center longitude on the map)
  • zoom (the zoom level; 0 is the furthest away, 17 is the closest in)
  • type (legal values are normal (or, equivalently, map), terrain (new in 0.9.0), hybrid, and satellite; defaults to hybrid)
  • controls (small creates +/- zoom buttons, medium has zoom buttons and pan buttons, large has pan buttons with a sliding scale for zoom, and none has no buttons)
  • selector (show the map/hybrid/satellite selector? Legal values are yes (default) and no.)
  • scale (show the distance scale? Legal values are yes and no (default).)
  • overview (show the inset navigation map? Legal values are yes and no (default).)
  • icons (URL template for custom markers, with "{label}" where the name of the icon will be inserted; defaults to "http://maps.google.com/mapfiles/marker{label}.png")
  • icon (URL for markers without an icon specified; defaults to marker.png)
  • doubleclick new in 0.7.6 (what to do when the user double-clicks? legal values are recenter (default) and zoom)
  • zoomstyle new in 0.7.6 (legal values are fast (default) and smooth, also known as continuous zooming; only works in some browsers)
  • stroke new in 0.8.0 (width of paths, in pixels)
  • version new in 0.9.0 (specifies syntax version, see below; legal values are "0" (default) and "0.9")
  • scrollwheel new in 0.9.0 (define scroll wheel behavior; nothing (default) or zoom)

All attributes are optional.