Skip to content
Snippets Groups Projects
Commit fc4f96ce authored by Brandon Bergren's avatar Brandon Bergren
Browse files

gmap_parse_macro will assign ids as needed, no need to manually assign one.

parent 9b34d20d
No related branches found
No related tags found
No related merge requests found
...@@ -122,7 +122,6 @@ class gmap_plugin_style_gmap extends views_plugin_style { ...@@ -122,7 +122,6 @@ class gmap_plugin_style_gmap extends views_plugin_style {
if (!empty($markers)) { // Don't draw empty maps. if (!empty($markers)) { // Don't draw empty maps.
$map = gmap_parse_macro($this->options['macro']); $map = gmap_parse_macro($this->options['macro']);
$map['markers'] = $markers; $map['markers'] = $markers;
$map['id'] = gmap_get_auto_mapid();
$output .= theme($this->theme_functions(), $this->view, $this->options, $map, $title); $output .= theme($this->theme_functions(), $this->view, $this->options, $map, $title);
} }
} }
......
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