Difference between revisions of "Template:Map"

From GAMEO
Jump to navigation Jump to search
[checked revision][checked revision]
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<!-- Place = Latitude/Longitude e.g. 49.886549,-97.141127 -->
+
<!--
<!-- If you wish text when the cursor hovers over the pointer, follow the latitude/longitude with-->
+
LAT = Latitude, e.g. 49.886549
<!-- ~text e.g. ~PeaceWorks Computer Consulting, Winnipeg, Manitoba -->
+
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.
  
{|Table align=right
+
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:{{{Place}}}
+
http://www.latlong.net/convert-address-to-lat-long.html
|height=400
+
-->
|width=400
+
 
|service=googlemaps3
+
{{#display_map:LAT,LON~MAPTITLE~MAPTEXT
 +
|height=600
 
|zoom=10}}
 
|zoom=10}}
|-
 
| Caption
 
|}
 

Latest revision as of 18:59, 10 September 2018


Loading map...