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

Implement a hack so swill can twiddle the marker manager ;)

parent 6cbe2d74
No related branches found
No related tags found
No related merge requests found
...@@ -246,6 +246,11 @@ function _gmap_doheader() { ...@@ -246,6 +246,11 @@ function _gmap_doheader() {
drupal_add_css($gmap_path .'/gmap.css'); drupal_add_css($gmap_path .'/gmap.css');
drupal_add_js($gmap_path .'/js/gmap.js'); drupal_add_js($gmap_path .'/js/gmap.js');
$mm = variable_get('gmap_mm_type', 'gmap'); $mm = variable_get('gmap_mm_type', 'gmap');
// If you really really want to override the marker manager, implement
// this, take $mm by ref, and have fun. --Bdragon
if (function_exists('_gmap_markermanager_override')) {
_gmap_markermanager_override($mm);
}
if ($mm=='clusterer') { if ($mm=='clusterer') {
drupal_add_js($gmap_path .'/js/icon.js'); drupal_add_js($gmap_path .'/js/icon.js');
drupal_add_js($gmap_path .'/thirdparty/Clusterer2.js'); drupal_add_js($gmap_path .'/thirdparty/Clusterer2.js');
......
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