isset($d['maptype']) ? $d['maptype'] : 'Map', 'Map' => 1, 'Satellite' => 1, 'Hybrid' => 1, 'Physical' => 0, ); } // Default maptype was moved into baselayers. unset($d['maptype']); // Determine the map type control that was in use. if (!isset($d['mtc'])) { // User had the notype behavior flag set. if (!empty($d['behavior']['notype'])) { $d['mtc'] = 'none'; } else { $d['mtc'] = 'standard'; } } // notype is gone, mtc is more generic. if (isset($d['behavior']['notype'])) { unset($d['behavior']['notype']); } variable_set('gmap_default', $d); return $ret; }