We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 582b38c commit 4ec1af9Copy full SHA for 4ec1af9
samples/ui-kit-place-search-nearby/index.ts
@@ -55,9 +55,6 @@ async function init(): Promise<void> {
55
placeSearch.addEventListener('gmp-select', (event: Event) => {
56
const { place } = event as any;
57
markers.get(place.id)?.click();
58
- if (place.location) {
59
- map.center = place.location;
60
- }
61
});
62
placeSearch.addEventListener('gmp-load', () => {
63
addMarkers();
0 commit comments