Skip to content

Commit 4480727

Browse files
authored
Updates index.ts based on review comments
1 parent 0ecdc88 commit 4480727

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

samples/place-text-search/index.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,13 @@
66

77
// [START maps_place_text_search]
88
let map;
9-
let marker;
109
let markers = {};
1110
let center;
12-
let textInput;
13-
let textInputButton;
1411
let infoWindow;
1512

1613
async function initMap() {
14+
let textInput;
15+
let textInputButton;
1716
const { Map, InfoWindow } = await google.maps.importLibrary("maps") as google.maps.MapsLibrary;
1817

1918
center = { lat: 37.4161493, lng: -122.0812166 };

0 commit comments

Comments
 (0)