Skip to content
Snippets Groups Projects
Commit 72caa00b authored by garrettrayj's avatar garrettrayj Committed by Andriy Podanenko
Browse files

Issue #1077850 by silverflame757, garrettrayj: Fixed Empty View with...

Issue #1077850 by silverflame757, garrettrayj: Fixed Empty View with DataSource Choose latitude and longitude fields ( GMap + Views ) .
parent fcd8d3a2
No related branches found
No related tags found
No related merge requests found
......@@ -64,6 +64,9 @@ function template_preprocess_gmap_views_view_gmapextended(&$vars) {
foreach ($renders as $i => $row) {
$markers[$i] = $options['fallback_values'];
foreach ($options['field_purposes'] as $field => $purpose) {
if (!isset($markers[$i][$purpose])) {
$markers[$i][$purpose] = '';
}
$markers[$i][$purpose] .= $row[$field];
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment