google-maps-react
google-maps-react copied to clipboard
Keyboard navigation for markers
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?
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.