Hi evil853.
Thanks for the idea.
I've just tried it - adding or removing the style element within a
StreetView 'visible_changed' event listener and it works perfectly.
A possible optimisation to your code, avoiding looping through all the
document's style elements to find the one to remove:
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 =