Template:Locate: Difference between revisions

From Bhamwiki
Jump to navigation Jump to search
m (Changed category)
(Added type parameter)
Line 1: Line 1:
<p style="float: right; background-color: #eee; border: 1px solid #999; margin-left: 1em; padding: .2em; font-size: smaller;">[http://maps.google.com/maps?ll={{{lat}}},{{{lon}}}&z={{{zoom|12}}}&q={{{lat}}},{{{lon}}} Locate with<br>Google Maps]</p><noinclude>
<p style="float: right; background-color: #eee; border: 1px solid #999; margin-left: 1em; padding: .2em; font-size: smaller;">[http://maps.google.com/maps?ll={{{lat}}},{{{lon}}}&z={{{zoom|12}}}&q={{{lat}}},{{{lon}}}&t={{{type|m}}} Locate with<br>Google Maps]</p><noinclude>
<p><br><br><br></p>
<p><br><br><br></p>


Line 6: Line 6:
*'''lon''' (longitude as decimal)
*'''lon''' (longitude as decimal)
*'''zoom''' (0-17, recommended 10-16, defaults to 12)
*'''zoom''' (0-17, recommended 10-16, defaults to 12)
*'''type''' ("m" for map (default), "k" for satellite, "h" for hybrid)<sup>1</sup>


Latitude and longitude must be entered in decimal representation, not degrees, minutes, and seconds.  [http://www.fcc.gov/mb/audio/bickel/DDDMMSS-decimal.html This page] can be used to do the conversion if needed.  Keep in mind that Birmingham is located at coordinates north and west, meaning that the latitude is positive, but ''the longitude is negative''.
Latitude and longitude must be entered in decimal representation, not degrees, minutes, and seconds.  [http://www.fcc.gov/mb/audio/bickel/DDDMMSS-decimal.html This page] can be used to do the conversion if needed.  Keep in mind that Birmingham is located at coordinates north and west, meaning that the latitude is positive, but ''the longitude is negative''.


Also note that floating an image to the right immediately below this template can cause the image to hide some of the text.
Also note that floating an image to the right immediately below this template can cause the image to hide some of the text.
<sup id="note1">1</sup> Don't blame me.  That's Google Maps doing.  BhamWiki doesn't let me make it more user-friendly right now.


----
----


<p style="float: right; background-color: #eee; border: 1px solid #999; margin-left: 1em; padding: .2em; font-size: smaller;">[http://maps.google.com/maps?ll=33.468306,-86.808146&z=12&q=33.468306,-86.808146 Locate with<br>Google Maps]</p>
<p style="float: right; background-color: #eee; border: 1px solid #999; margin-left: 1em; padding: .2em; font-size: smaller;">[http://maps.google.com/maps?ll=33.468306,-86.808146&z=12&q=33.468306,-86.808146&t=m Locate with<br>Google Maps]</p>


'''Example:'''<br>
'''Example:'''<br>

Revision as of 16:44, 21 December 2006

Locate with
Google Maps




Parameters:

  • lat (latitude as decimal)
  • lon (longitude as decimal)
  • zoom (0-17, recommended 10-16, defaults to 12)
  • type ("m" for map (default), "k" for satellite, "h" for hybrid)1

Latitude and longitude must be entered in decimal representation, not degrees, minutes, and seconds. This page can be used to do the conversion if needed. Keep in mind that Birmingham is located at coordinates north and west, meaning that the latitude is positive, but the longitude is negative.

Also note that floating an image to the right immediately below this template can cause the image to hide some of the text.

1 Don't blame me. That's Google Maps doing. BhamWiki doesn't let me make it more user-friendly right now.


Locate with
Google Maps

Example:
{{Locate | lat=33.468306 | lon=-86.808146 }}