Difference between revisions of "Template:Map"
Jump to navigation
Jump to search
[checked revision] | [checked revision] |
GameoAdmin (talk | contribs) |
SamSteiner (talk | contribs) |
||
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | < | + | <!-- |
LAT = Latitude, e.g. 49.886549 | LAT = Latitude, e.g. 49.886549 | ||
LON = Longitude, e.g. -97.141127 | LON = Longitude, e.g. -97.141127 | ||
− | MAPTITLE = This text displays when the cursor hovers over the location icon on the map. If no text should be shown, remove the "~MAPTITLE" altogether. | + | 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 | + | 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: | ||
+ | http://www.latlong.net/convert-address-to-lat-long.html | ||
+ | --> | ||
{{#display_map:LAT,LON~MAPTITLE~MAPTEXT | {{#display_map:LAT,LON~MAPTITLE~MAPTEXT | ||
|height=600 | |height=600 | ||
− | |||
|zoom=10}} | |zoom=10}} |
Latest revision as of 18:59, 10 September 2018