You are here

function theme_gmap_views_marker_label in GMap Module 5

Theme a marker label.

1 theme call to theme_gmap_views_marker_label()
theme_views_view_gmap in ./gmap_views.module
Display the results of a view in a Google Map.

File

./gmap_views.module, line 186
GMap Views: A Views Style plugin providing a GMap view.

Code

function theme_gmap_views_marker_label($view, $fields, $entry) {
  $marker_label = '';
  foreach ($view->field as $field) {
    $marker_label .= '<div class="gmap-popup ' . $field['field'] . '">' . views_theme_field('views_handle_field', $field['queryname'], $fields, $field, $entry, $view) . '</div>';
  }
  return $marker_label;
}