Index: gmap_macro_builder.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/gmap/Attic/gmap_macro_builder.module,v
retrieving revision 1.1.2.4
diff -u -r1.1.2.4 gmap_macro_builder.module
--- gmap_macro_builder.module	5 May 2007 23:21:10 -0000	1.1.2.4
+++ gmap_macro_builder.module	7 Jun 2007 14:48:29 -0000
@@ -46,8 +46,10 @@
 
 /**
  * Macro builder form.
+ * @param $settings
+ *   Additional settings to apply to the macro map.
  */
-function gmap_macro_builder_form() {
+function gmap_macro_builder_form($settings = array()) {
   $form['macroform'] = array(
     '#type' => 'fieldset',
     '#title' => t('Gmap macro creation'),
@@ -57,13 +59,13 @@
   $form['macroform']['mapdiv'] = array(
     '#type' => 'gmap',
     '#map' => 'macro_map',
-    '#settings' => array(
+    '#settings' => array_merge(array(
       'points' => array(),
       'pointsOverlays' => array(),
       'behavior' => array(
         'dynmarkers' => TRUE,
       ),
-    ),
+    ), $settings),
   );
 
   $defaults = gmap_defaults();

