Difference between revisions of "Widget:Google Map"
m (Dan Smith moved page Widget:Google Place to Widget:Google Map Place without leaving a redirect) |
|||
| Line 3: | Line 3: | ||
* ''width'': Width of iframe | * ''width'': Width of iframe | ||
* ''height'': Height of iframe | * ''height'': Height of iframe | ||
| + | * ''zoom'': Zoom level (optional) | ||
</noinclude><includeonly><iframe | </noinclude><includeonly><iframe | ||
width="<!--{$width}-->" | width="<!--{$width}-->" | ||
height="<!--{$width}-->" | height="<!--{$width}-->" | ||
| + | {{#if:<!--{$zoom}-->|zoom=<!--{$zoom}-->}} | ||
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:29, 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)