Skip to content

Commit ee51a01

Browse files
authored
Update index.ts to include MarkerClusterer import in region (#1811)
The MarkerClusterer import was left out of all regions, causing some users to ask "whaaaat???". This change moves the vital import statement back into the region for the code example so everyone can see it and no, you are NOT crazy.
1 parent 29d6cf0 commit ee51a01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/marker-clustering/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
* Copyright 2019 Google LLC. All Rights Reserved.
44
* SPDX-License-Identifier: Apache-2.0
55
*/
6+
// [START maps_marker_clustering]
67
import { MarkerClusterer } from "@googlemaps/markerclusterer";
78

8-
// [START maps_marker_clustering]
99
async function initMap() {
1010
// Request needed libraries.
1111
const { Map, InfoWindow } = await google.maps.importLibrary("maps") as google.maps.MapsLibrary;

0 commit comments

Comments
 (0)