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.

Comments

bmunslow’s picture

StatusFileSize
new528 bytes

Hi, 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.

jkingsnorth’s picture

Issue summary: View changes
Status: Active » Needs review

Updating issue status.

Status: Needs review » Needs work

The last submitted patch, 1: disable_map_type_control-1795732-2.patch, failed testing.

bmunslow’s picture

StatusFileSize
new505 bytes

Sorry, patch didn't apply correctly, please find attached new patch

bmunslow’s picture

This patch has been commited to the latest release 7.x-2.9.

bmunslow’s picture

Assigned: Unassigned » bmunslow
bmunslow’s picture

Status: Needs work » Closed (fixed)