google-maps-react icon indicating copy to clipboard operation
google-maps-react copied to clipboard

Keyboard navigation for markers

Open mathiasha opened this issue 4 years ago • 1 comments

I have a map with markers on it. I can't seem to find a way to navigate to the markers using keyboard only. When tabbing in the window I can't focus on markers. Am I doing something wrong, or has that feature not been implemented?

mathiasha avatar Sep 18 '20 13:09 mathiasha

I have a map with markers on it. I can't seem to find a way to navigate to the markers using keyboard only. When tabbing in the window I can't focus on markers. Am I doing something wrong, or has that feature not been implemented?

That's because the markers are drawn on the map canvas, it's not available as a node on the dom. But you could create a component over the map that sets the center to the location of the marker so the map can focus on it.

giseleml avatar Nov 05 '20 19:11 giseleml