Template:Map Embed: Difference between revisions

From Indian River Lagoon Project
mNo edit summary
mNo edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
<html><iframe name="irlmapframe" width="100%" height="350px" srcdoc="<a href=https://www.google.com/maps/embed/v1/place?key=AIzaSyD63vkS9IBqqsb9804f_nHUB6MnfM5aw-c&</html>q={{{coord|28.650698,-80.806904}}}&center={{{coord|28.650698,-80.806904}}}&zoom={{{zoom|14}}}<html> title='Tap here for an active map' target=irlmapframe><img src=https://maps.googleapis.com/maps/api/staticmap?</html>center={{{coord|28.650698,-80.806904}}}&zoom={{{zoom|10}}}&markers=color:red%7C{{{coord|28.650698,-80.806904}}}&size=340x340<html>&key=AIzaSyD63vkS9IBqqsb9804f_nHUB6MnfM5aw-c></a>" src="" frameborder="0" border="0" scrolling="no" allowfullscreen></iframe></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>
<noinclude>__NOINDEX__ __NOCACHE__ </noinclude>
<noinclude>
__NOINDEX__ __NOCACHE__
{{Documentation}}
</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