Difference between revisions of "Widget:Google Map"
m (14 revisions imported: Initial import from smithfam) |
|||
| (One intermediate revision by the same user not shown) | |||
| Line 9: | Line 9: | ||
height='<!--{$height|escape:'quotes'|default:'300'}-->' | height='<!--{$height|escape:'quotes'|default:'300'}-->' | ||
frameborder="0" style="border:0" | frameborder="0" style="border:0" | ||
| − | src="https://www.google.com/maps/embed/v1<!--{if | + | src="https://www.google.com/maps/embed/v1<!--{if !empty($place)}-->/place<!--{else}-->/view<!--{/if}-->?key=AIzaSyAIWDKY-pMzKZETUQiFJQq3Oeqi2OkL0hY<!--{if !empty($place)}-->&q=<!--{$place|escape:'url'}--><!--{/if}--><!--{if !empty($center)}-->¢er=<!--{$center|escape:'url'}--><!--{/if}--><!--{if !empty($zoom)}-->&zoom=<!--{$zoom|escape:'url'}--><!--{/if}-->"></iframe></includeonly> |
Latest revision as of 19:14, 8 December 2015
Display a Google Map via the Embed API.
- place: Place to display; default is no highlighted place
- center: Coordinates of center (e.g., -33.8569,151.2152); default is computed from place
- zoom: Zoom level; default is computed from place
- width: Width of iframe; default is 400
- height: Height of iframe; default is 300