Search code examples
google-mapsgoogle-maps-api-3google-street-view

activate Google maps keyboard bindings immediately after page load


is it possible to activate the keyboard bindings of Google Maps (StreetView) immediately after page load? I found a working example here, unfortunately it uses the Google Maps API v2 which is no longer supported. If you embed a normal Google Maps StreetView, keyboard bindings works not before you click on the map initially (see here).

Is there a possibility to do this in v3? I already tried this and this without success because thats not working for streetview.

Update: with keyboard bindings I have especially the arrow keys in mind to move around the map

Thanks

Greetings


Solution

  • Ok, found a solution and created a Gist for that.