Template:Map Embed/doc: Difference between revisions

From Indian River Lagoon Project
(Created page with "This is the Google Map Embed Template. <code><nowiki>{{Map Embed|coord=28.736342,-80.754662|zoom=10|width=340|height=330}}</nowiki></code> <templatedata> { "params": { "he...")
 
mNo edit summary
 
Line 1: Line 1:
This is the Google Map Embed Template.
This is the Google Map Embed Template.
Call the template using:
<code><nowiki>{{Map Embed|coord=28.736342,-80.754662}}</nowiki></code>
<code><nowiki>{{Map Embed|coord=28.736342,-80.754662|zoom=10|width=340|height=330}}</nowiki></code>
<code><nowiki>{{Map Embed|coord=28.736342,-80.754662|zoom=10|width=340|height=330}}</nowiki></code>


Line 21: Line 27:
"description": "Zoom from 0-19",
"description": "Zoom from 0-19",
"type": "number",
"type": "number",
"default": "12",
"default": "10",
"autovalue": "12"
"autovalue": "10"
},
},
"width": {
"width": {
Line 28: Line 34:
"description": "Width of the frame, map and image.",
"description": "Width of the frame, map and image.",
"type": "number",
"type": "number",
"default": "340",
"default": "330",
"autovalue": "340"
"autovalue": "330"
}
}
},
},

Latest revision as of 10:29, January 5, 2021

This is the Google Map Embed Template.


Call the template using:

{{Map Embed|coord=28.736342,-80.754662}}

{{Map Embed|coord=28.736342,-80.754662|zoom=10|width=340|height=330}}

The Map Embed template displays a static google map that opens an active google map when selected.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Coordinatescoord

Latitude,Longitude

Unknownrequired
Widthwidth

Width of the frame, map and image.

Default
330
Auto value
330
Numberoptional
Heightheight

Height of iframe, map and image

Default
340
Auto value
340
Numberoptional
Zoomzoom

Zoom from 0-19

Default
10
Auto value
10
Numberoptional