Difference between revisions of "Widget:Google Map"
| Line 7: | Line 7: | ||
width='<!--{$width|escape:'quotes'|default:'400'}-->' | width='<!--{$width|escape:'quotes'|default:'400'}-->' | ||
height='<!--{$height|escape:'quotes'|default:'400'}-->' | height='<!--{$height|escape:'quotes'|default:'400'}-->' | ||
| − | + | ||
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'}--> |
| + | <!--{if isset($zoom)}-->&zoom=<!--{$zoom|escape:'url'}--><!--{/if}-->"> | ||
</iframe></includeonly> | </iframe></includeonly> | ||
Revision as of 22:56, 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)