Widget:Google Map: Difference between revisions

From Smith Family Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
* ''zoom'': Zoom level (optional)
* ''zoom'': Zoom level (optional)
</noinclude><includeonly><iframe
</noinclude><includeonly><iframe
   width="<!--{$width}-->"
   width='<!--{$width|escape:'quotes'|default:'400'}-->'
   height="<!--{$width}-->"
   height='<!--{$height|escape:'quotes'|default:'400'}-->'
   {{#if:<!--{$zoom}-->|zoom=<!--{$zoom}-->}}
   <!--{if isset($zoom)}-->zoom='<!--{$zoom|escape:'quotes'}-->'<!--{/if}-->
   frameborder="0" style="border:0"
   frameborder="0" style="border:0"
   src="https://www.google.com/maps/embed/v1/place?key=AIzaSyAIWDKY-pMzKZETUQiFJQq3Oeqi2OkL0hY
   src="https://www.google.com/maps/embed/v1/place?key=AIzaSyAIWDKY-pMzKZETUQiFJQq3Oeqi2OkL0hY
     &q=<!--{$place|escape:'url'}-->">
     &q=<!--{$place|escape:'url'}-->">
</iframe></includeonly>
</iframe></includeonly>

Revision as of 23:49, 19 June 2015

Display a place in a Google Map via the Embed API.

  • place: Place to display
  • width: Width of iframe
  • height: Height of iframe
  • zoom: Zoom level (optional)