{% if infowindow is not empty %}
  {% set showInfowindow = "true" %}
{% endif %}
<section class="google-map-field">
  {% if name %}
  <h2>{{ name }}</h2>
  {% endif %}
  {% if showInfowindow %}
  <div class="map-infowindow" style="display:none;">{{ infowindow }}</div>
  {% endif %}
  <div class="map-container" style="width:{{ width }};height:{{ height }};" data-controls-show="{{ show_controls }}" data-traffic="{{ traffic }}" data-marker-show="{{ show_marker }}" data-marker-icon="{{ marker_icon }}" data-type="{{ type }}" data-lat="{{ lat }}" data-lon="{{ lon }}" data-zoom="{{ zoom }}" data-infowindow="{{ showInfowindow }}"></div>
</section>
