Difference between revisions of "Template:Map"
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
SamSteiner (talk | contribs) |
SamSteiner (talk | contribs) |
||
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | <!-- | + | <!-- |
− | + | LAT = Latitude, e.g. 49.886549 | |
− | + | LON = Longitude, e.g. -97.141127 | |
+ | MAPTITLE = This text displays when the cursor hovers over the location icon on the map, and also as the title in the pop-up box. If no text should be shown, remove the "~MAPTITLE" altogether. | ||
+ | MAPTEXT = This text displays when the cursor clicks on the location icon on the map. If no text should be shown, remove the "~MAPTEXT" altogether. | ||
− | + | The zoom and height can also be adjusted, if desired. | |
− | + | ||
− | + | The LAT and LON are needed to plot the point on the map. To geocode a location (i.e. convert an address into these coordinates), many web services are available, such as: | |
− | {{#display_map: | + | http://www.latlong.net/convert-address-to-lat-long.html |
− | |height= | + | --> |
− | + | ||
− | + | {{#display_map:LAT,LON~MAPTITLE~MAPTEXT | |
+ | |height=600 | ||
|zoom=10}} | |zoom=10}} | ||
− | |||
− | |||
− |
Latest revision as of 18:59, 10 September 2018