This is not your problem to fix, but google maps seems disinclined to fix it (since 2021) and you are in a good position to do so.
When I load a google maps page of a locaton (e.g. Disneyland, I can't then click - or + (or the non-shifted =) to zoom in and out.
the easiest way I've found to make it work is to click in the search box and then click on the map, then the keys work. More complicated ways exist by hitting tab 20 times and sometimes hitting , to close the side panel and then tab.
After playing around with document.activeElement which points to the keys working when this is selected
<canvas width="3258" height="780" id="" class="aFsglc" style="width: 1629px; height: 390px;" tabindex="-1"></canvas>
I found that running
document.getElementsByTagName("canvas")[0].focus() in the js console makes the zoom keys work.
would it be easily possible to add that after the page has loaded?
This is not your problem to fix, but google maps seems disinclined to fix it (since 2021) and you are in a good position to do so.
When I load a google maps page of a locaton (e.g. Disneyland, I can't then click
-or+(or the non-shifted=) to zoom in and out.the easiest way I've found to make it work is to click in the search box and then click on the map, then the keys work. More complicated ways exist by hitting tab 20 times and sometimes hitting
,to close the side panel and then tab.After playing around with
document.activeElementwhich points to the keys working when this is selectedI found that running
document.getElementsByTagName("canvas")[0].focus()in the js console makes the zoom keys work.would it be easily possible to add that after the page has loaded?