Template:Locate coords inline

From Bhamwiki
Jump to: navigation, search

map



Parameters:

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

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. You can also find coordinates using Google Earth. Keep in mind that Birmingham is located at coordinates north and west, meaning that the latitude is positive, but the longitude is negative.

Example:
. . . near the main gate of [[Oak Mountain State Park]] ({{Locate coords inline | lat = 33.320016 | lon = -86.778385 | zoom = 15 | type = h}})

Will display:
. . . near the main gate of Oak Mountain State Park (map)