small fix to prevent IE from aborting script:

var cssCode = '#map div[style] { -webkit-transform: scale(1) !important; 
-moz-transform: scale(1) !important; }';
var styleElement  = document.createElement('style');
styleElement.type = 'text/css';
if (!styleElement.styleSheet) {
  styleElement.id = 'scaleOff';
  styleElement.appendChild(document.createTextNode(cssCode));
  document.getElementsByTagName('head')[0].appendChild(styleElement);
}

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to