Template:Map Embed: Difference between revisions
From Indian River Lagoon Project
mNo edit summary |
mNo edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude><html><iframe name="irlmapframe" width="100%" height="</html>{{{height|340}}}<html>" srcdoc="<a href=https://www.google.com/maps/embed/v1/place?key=AIzaSyD63vkS9IBqqsb9804f_nHUB6MnfM5aw-c&</html>q={{{coord|28.650698,-80.806904}}}¢er={{{coord|28.650698,-80.806904}}}&zoom={{{zoom| | <onlyinclude><html><iframe name="irlmapframe" width="100%" height="</html>{{{height|340}}}<html>" srcdoc="<a href=https://www.google.com/maps/embed/v1/place?key=AIzaSyD63vkS9IBqqsb9804f_nHUB6MnfM5aw-c&</html>q={{#replace:{{{coord|28.650698,-80.806904}}}|<nowiki> </nowiki>}}¢er={{#replace:{{{coord|28.650698,-80.806904}}}|<nowiki> </nowiki>}}&zoom={{{zoom|12}}}<html> title='Tap here for an active map' target=irlmapframe><img src=https://maps.googleapis.com/maps/api/staticmap?</html>center={{#replace:{{{coord|28.650698,-80.806904}}}|<nowiki> </nowiki>}}&zoom={{{zoom|10}}}&markers=color:red%7C{{#replace:{{{coord|28.650698,-80.806904}}}|<nowiki> </nowiki>}}&size={{{width|340}}}x{{{height|330}}}<html>&key=AIzaSyD63vkS9IBqqsb9804f_nHUB6MnfM5aw-c alt='Indian River Lagoon Map'></a>" src="" title="Indian River Lagoon Map" frameborder="0" border="0" scrolling="no" allowfullscreen></iframe></html></onlyinclude> | ||
<noinclude> | <noinclude> | ||
__NOINDEX__ __NOCACHE__ | __NOINDEX__ __NOCACHE__ | ||
{{Documentation}} | |||
</noinclude> | </noinclude> |
Latest revision as of 07:45, April 25, 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Coordinates | coord | Latitude,Longitude | Unknown | required |
Width | width | Width of the frame, map and image.
| Number | optional |
Height | height | Height of iframe, map and image
| Number | optional |
Zoom | zoom | Zoom from 0-19
| Number | optional |
The above documentation is transcluded from Template:Map Embed/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |