summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Bergren2008-11-19 21:22:50 (GMT)
committer Brandon Bergren2008-11-19 21:22:50 (GMT)
commit6a6759cda27a6d3958f0ab7b723640fd2295792f (patch)
tree5214c36fdd45efff7369c532040d3c8b3fa0cf5c
parent6cbe2d74e89d3cc17769c95429fea5920b53f667 (diff)
Implement a hack so swill can twiddle the marker manager ;)
-rw-r--r--gmap.module5
1 files changed, 5 insertions, 0 deletions
diff --git a/gmap.module b/gmap.module
index 2d51912..f8b979a 100644
--- a/gmap.module
+++ b/gmap.module
@@ -246,6 +246,11 @@ function _gmap_doheader() {
drupal_add_css($gmap_path .'/gmap.css');
drupal_add_js($gmap_path .'/js/gmap.js');
$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') {
drupal_add_js($gmap_path .'/js/icon.js');
drupal_add_js($gmap_path .'/thirdparty/Clusterer2.js');