Skip to content

Commit

Permalink
fix: Adds missing gmpClickable property (#1734)
Browse files Browse the repository at this point in the history
* Update index.ts

Adds the gmpClickable property

* fix: Adds a random commit with a semantic title

Yay!
  • Loading branch information
willum070 committed May 15, 2024
1 parent d1d2fd6 commit e133edf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions samples/advanced-markers-accessibility/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ async function initMap() {
});

// Set LatLng and title text for the markers. The first marker (Boynton Pass)
// receives the initial focus when tab is pressed. Use arrow keys to
// move between markers; press tab again to cycle through the map controls.
// receives the initial focus when tab is pressed. Use arrow keys to move
// between markers; press tab again to cycle through the map controls.
const tourStops = [
{
position: { lat: 34.8791806, lng: -111.8265049 },
Expand Down Expand Up @@ -57,6 +57,7 @@ async function initMap() {
map,
title: `${i + 1}. ${title}`,
content: pin.element,
gmpClickable: true,
});
// [END maps_advanced_markers_accessibility_marker]
// [START maps_advanced_markers_accessibility_event_listener]
Expand Down

0 comments on commit e133edf

Please sign in to comment.