I have a quick question about GMAP Macro Builder.

Is there a way to set a default macro that is applied with the GMAP Macro builder is launched?

I can set certain defaults in the GMAP settings in Admin, but I can't set the default marker, or other such items. Any help is appreciated.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

haiiro.shimeji’s picture

Status: Active » Needs review
FileSize
18.33 KB

i need this feature and make the patch for 7.x-1.x.

this patch will fix the behavior of gmap_macro_builder_form() that ignore the $settings argument,
and fix the behavior of the some javascripts that cause the default value is not editable.

the below is the sample of $settings argument, this is parsed macro by gmap_parse_macro().

Array ( [zoom] => 9 [width] => 300px [height] => 200px [maptype] => Map [controltype] => Small [longitude] => 136.900634765625 [latitude] => 35.16931803601131 [markers] => Array ( [0] => Array ( [options] => Array ( ) [longitude] => 136.89788818359375 [latitude] => 35.1760533659996 [markername] => treasure [offset] => 0 ) ) )

#
but this ticket is opened for 6.x..
should i open a new issue??

podarok’s picture

Version: 6.x-1.0 » 7.x-1.x-dev
Category: support » feature
Status: Needs review » Needs work

all feature requests can be imported in 6.x version after committing em in major versions with backport afterwards
Can You make this ?