Skip to content

Instantly share code, notes, and snippets.

@Talleyran
Created March 15, 2012 11:05
Show Gist options
  • Save Talleyran/2043677 to your computer and use it in GitHub Desktop.
Save Talleyran/2043677 to your computer and use it in GitHub Desktop.
v3 hybrid hack
var obj = app.mapPanel.map.layers[4].mapObject,
zoom = obj.getZoom()
google.maps.event.addListenerOnce(obj, 'idle', function(){if(zoom != obj.getZoom())obj.setZoom(zoom)})
obj.setZoom(zoom + 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment