Template:Map Embed: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
 
(28 intermediate revisions by the same user not shown)
Line 1: Line 1:
<html>
<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>}}&center={{#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>
<a href="https://www.google.com/maps/embed/v1/view?key=AIzaSyD63vkS9IBqqsb9804f_nHUB6MnfM5aw-c</html>&center={{{coord|-33.8569,151.2152}}}&zoom={{{zoom|12}}}<html>" target="myiframe">Map</a>
<noinclude>
<a href="https://indianriverlagoonnews.org/guide/images/thumb/9/94/Timeline_crane_creek_project_2018-12-14.jpg/360px-Timeline_crane_creek_project_2018-12-14.jpg" target="myiframe">Image</a>
__NOINDEX__ __NOCACHE__
 
{{Documentation}}
<iframe name="myiframe" width="100%" height="360px" src="https://indianriverlagoonnews.org/guide/images/thumb/9/94/Timeline_crane_creek_project_2018-12-14.jpg/360px-Timeline_crane_creek_project_2018-12-14.jpg" frameborder="0" border="0" scrolling="no"></iframe>
</noinclude>
</html>
 
<!--
{{#cargo_display_map:point={{{coord|28.408961, -80.631536}}}|service=googlemaps|width=inherit|zoom=12|}}
 
{{#tag:iframe
|null
|key="irlgmap"
|path="view?key=AIzaSyD63vkS9IBqqsb9804f_nHUB6MnfM5aw-c&center={{{coord|-33.8569,151.2152}}}&zoom={{{zoom|12}}}"
|width={{{width|100%}}}
|height={{{height|400px}}}
}}
-->
<noinclude>__NOINDEX__ __NOCACHE__</noinclude>

Latest revision as of 07:45, April 25, 2021


Template documentation[view] [edit] [history] [purge]

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