geofield-map-widget.html.twig in Geofield Map 8
Same filename and directory in other branches
Theme implementation to display a Geofield Map Widget.
This creates a placeholder for the map to be injected in.
Available variables:
- mapid
- height
- width
File
templates/geofield-map-widget.html.twigView source
- {#
- /**
- * @file
- * Theme implementation to display a Geofield Map Widget.
- *
- * This creates a placeholder for the map to be injected in.
- *
- * Available variables:
- * - mapid
- * - height
- * - width
- *
- * @ingroup themeable
- *
- */
- #}
- <div id="{{ mapid }}" class="geofield-map-widget" style="min-width: 200px; width: {{ width }}; min-height: 200px; height: {{ height }}"></div>