Template:Locate coords inline: Difference between revisions

From Bhamwiki
Jump to navigation Jump to search
(Template creation)
 
m (Changed category)
Line 18: Line 18:
. . . near the main gate of [[Oak Mountain State Park]] ([http://maps.google.com/maps?ll=33.320016,-86.778385&q=33.320016,-86.778385&z=15 map])
. . . near the main gate of [[Oak Mountain State Park]] ([http://maps.google.com/maps?ll=33.320016,-86.778385&q=33.320016,-86.778385&z=15 map])


[[Category:Bhamwiki_templates]]
[[Category:Mapping templates|Locate coords inline]]
</noinclude>
</noinclude>

Revision as of 10:32, 29 November 2006

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")

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}})

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