Difference between revisions of "Widget:Google Map"
| Line 5: | Line 5: | ||
* ''zoom'': Zoom level (optional) | * ''zoom'': Zoom level (optional) | ||
</noinclude><includeonly><iframe | </noinclude><includeonly><iframe | ||
| − | width= | + | width='<!--{$width|escape:'quotes'|default:'400'}-->' |
| − | height= | + | height='<!--{$height|escape:'quotes'|default:'400'}-->' |
| − | + | <!--{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 22: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)