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

Followup to hack -- missed a spot.

parent 6a6759cd
No related branches found
No related tags found
No related merge requests found
......@@ -123,7 +123,15 @@ function gmap_gmap($op, &$map) {
drupal_add_js($path .'icon.js');
drupal_add_js($path .'marker.js');
drupal_add_js($path . variable_get('gmap_mm_type', 'gmap') .'_marker.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);
}
drupal_add_js($path . $mm .'_marker.js');
}
if (isset($map['behavior']['locpick']) && $map['behavior']['locpick']) {
drupal_add_js($path .'locpick.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