You are here

function theme_openlayers_views_map in Openlayers 6.2

Same name and namespace in other branches
  1. 6 modules/openlayers_views/views/openlayers_views.views.theme.inc \theme_openlayers_views_map()
  2. 7.2 modules/openlayers_views/views/openlayers_views.views.theme.inc \theme_openlayers_views_map()

Implementation of theme function

File

modules/openlayers_views/views/openlayers_views.views.theme.inc, line 13
This file holds views theme function for style plugin.

Code

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;
}