Template:Locate

From Bhamwiki
Revision as of 07:08, 9 July 2019 by Dystopos (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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, "p" for terrain, "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.4683 | lon=-86.8081 }}

Notes

Per this XKCD chart, there probably aren't many times we'd have any reason to go beyond four digits after the decimal point in our lat/lon fields. Maybe 5 digits for a statue in a park or something.