Thursday, October 13, 2011

Google Maps WebGL with Safari 5.1

It's possible to use the WebGL version of Google Maps with Safari, if you are willing to roll up your sleeves a little.  Follow these steps to try it out:

  • Enable the Develop menu by opening Preferences and selecting the Advanced tab; check the Show Develop menu in menu bar option

    Enable Develop Menu Bar
  • In the newly enabled Develop menu, enable WebGL:

    Enable WebGL
  • Set your UserAgent to Other, which is available in the Develop menu and paste in the following user agent string (which will fool Google maps into thinking your browser is Chrome):
    • Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_2) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.92 Safari/535.2
  • Navigate to http://maps.google.com/gl
    • Down the bottom left you will see an option to try Google Maps with WebGL