{if $section.address || $section.embed_code}> <{* Zoom level -> Google Maps z parameter *}> <{$z = 14}> <{if $section.zoom == 'close'}> <{$z = 16}> <{elseif $section.zoom == 'wide'}> <{$z = 12}> <{/if}> <{* Map height *}> <{$map_height = '420px'}> <{if $section.map_height == 'low'}> <{$map_height = '300px'}> <{elseif $section.map_height == 'high'}> <{$map_height = '560px'}> <{/if}> <{* URL-encode the address for the map query. escape:'url' is a built-in Smarty modifier, so it works in secure mode. *}> <{$map_query = $section.address|escape:'url'}> <{capture name="map"}>
<{$section.address|nl2br}>
<{/if}> <{if $section.info}> <{include file="components/wysiwyg.html" content=$section.info}> <{/if}>