Difference between revisions of "Template:Coordinates"

From yidtravel
Jump to: navigation, search
(Created page with "<noinclude> This is the 'Location' template. Edit the page to see the template text. </noinclude><includeonly>{{PAGENAME}} is {{#if:{{{Location type|}}}|a Has location type...")
 
 
(98 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This is the 'Location' template.
+
 
 +
This is the 'Coordinates' template.
  
 
Edit the page to see the template text.
 
Edit the page to see the template text.
</noinclude><includeonly>{{PAGENAME}} is {{#if:{{{Location type|}}}|a [[Has location type::{{{Location type|}}}]]|}} located at [[Has coordinates::{{{The coordinates|}}}]]. {{#if:{{{Located in|}}}|It is located in {{#if:{{#show:{{{Located in|}}}|?Has location type}}|the {{#show:{{{Located in|}}}|?Has location type}}|}} [[Located in::{{{Located in|}}}]].|}}
 
  
== Map display ==
 
  
{{
+
 
#display_point:
+
</noinclude><includeonly>
coordinates={{{The coordinates|}}}
+
<font size=5>
| zoom=7
+
YOU MIGHT NEED TO ADJUST THE STREET VIEW MAP (ADDRESSES AREN'T 100% ON THE MARK).
| height=400
+
</font>
| type=hybrid
+
{{#set:coordinates={{{The coordinates|}}} }}
 +
{{#arraydefine: Cor|{{{The coordinates|}}} }}
 +
{{#widget:Google Street View
 +
|lat={{#arrayindex:Cor |0 }}
 +
|lng={{#arrayindex:Cor|-1 }}
 +
|yaw=370.646599861876
 +
|pitch=0
 +
|zoom=1
 +
|width=525
 +
|height=375
 
}}
 
}}
 +
 +
 +
{{#widget:Widget:Google Maps
 +
|lat={{#arrayindex:Cor |0 }}
 +
|lng={{#arrayindex:Cor|-1 }}
 +
|marker.test.lat={{#arrayindex:Cor |0 }}
 +
|marker.test.lng={{#arrayindex:Cor|-1 }}
 +
|width=525
 +
|height=375
 +
}}
 +
 +
 +
{{Go daven}}

Latest revision as of 17:25, 26 February 2015


This is the 'Coordinates' template.

Edit the page to see the template text.