You are here

openlayers_views.views.theme.inc in Openlayers 6.2

This file holds views theme function for style plugin.

File

modules/openlayers_views/views/openlayers_views.views.theme.inc
View source
<?php

/**
 * @file
 * This file holds views theme function for style plugin.
 *
 * @ingroup openlayers
 */

/**
 * Implementation of theme function
 */
function theme_openlayers_views_map($view, $options = array(), $map = array(), $title = FALSE) {
  $title = $title ? '<h3>' . $title . '</h3>' : '';
  $output = '
    ' . $title . '
    <div class="openlayers-views-map">
      ' . $map['themed'] . '
    </div>
  ';
  return $output;
}

Related topics

Functions

Namesort descending Description
theme_openlayers_views_map Implementation of theme function