Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#1 | gmap_macro_builder_default_macro_841618.patch | 18.33 KB | haiiro.shimeji |
Comments
Comment #1
haiiro.shimeji CreditAttribution: haiiro.shimeji commentedi 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??
Comment #2
podarokall feature requests can be imported in 6.x version after committing em in major versions with backport afterwards
Can You make this ?