openlayers-8.x-4.x-dev/templates/openlayers-map.html.twig

templates/openlayers-map.html.twig
{#
/**
 * @file
 * Theme implementation to display an Openlayers map.
 *
 * This creates a placeholder for the map to be injected into.
 *
 * Available variables:
 * - map_id
 * - height
 *
 * Note: min-width is set so that a map will show when "Inline" is specified
 * for the associated field label. This may of course be overridden. The default
 * field label style is "Above" with a width of 100%.
 *
 * @ingroup themeable
 *
 */
#}
MAP-START
<div id="{{ map_id }}" class="openlayers-map" style="min-width: 150px; {% if height is not empty %}height: {{ height }}{% endif %}"></div>
MAP-END

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc