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.
After much time spent trying to get mtc=none and other various options to work in the macro, I started doing research and tracking things down in the file, correct me if I'm wrong here, but I found this on:
line 321 gmap.js
opts.mapTypeControl = true;
Changing this to false does what I want to do, but I really didn't want to have to hack a module file to do it.
Comment | File | Size | Author |
---|---|---|---|
#4 | disable_map_type_control-1795732-2.patch | 505 bytes | bmunslow |
Comments
Comment #1
bmunslow CreditAttribution: bmunslow commentedHi, you are right, this setting is overlooked in the
gmap.js
file.Please find attached a find that corrects this and allows to use the
mtc = none
setting.Comment #2
JKingsnorth CreditAttribution: JKingsnorth commentedUpdating issue status.
Comment #4
bmunslow CreditAttribution: bmunslow commentedSorry, patch didn't apply correctly, please find attached new patch
Comment #5
bmunslow CreditAttribution: bmunslow commentedThis patch has been commited to the latest release 7.x-2.9.
Comment #6
bmunslow CreditAttribution: bmunslow commentedComment #7
bmunslow CreditAttribution: bmunslow commented