Skip to content

Commit 6a636ab

Browse files
committed
fix: Moves a region tag.
1 parent 998519a commit 6a636ab

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

samples/place-autocomplete-map/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
({key: "AIzaSyA6myHzS10YXdcazAFalmXvDkrYCp5cLc8", v: "weekly"});</script>
1717
</head>
1818
<body>
19+
<!-- [START maps_place_autocomplete_map_add] -->
1920
<gmp-map center="40.749933,-73.98633" zoom="13" map-id="DEMO_MAP_ID">
2021
<div
2122
class="place-autocomplete-card"
@@ -24,6 +25,7 @@
2425
<gmp-place-autocomplete></gmp-place-autocomplete>
2526
</div>
2627
</gmp-map>
28+
<!-- [END maps_place_autocomplete_map_add]-->
2729
</body>
2830
</html>
2931
<!-- [END maps_place_autocomplete_map] -->

samples/place-autocomplete-map/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ async function initMap(): Promise<void> {
2020
google.maps.importLibrary('places'),
2121
]);
2222

23-
// [START maps_place_autocomplete_map_add]
2423
// Get the inner map.
2524
innerMap = mapElement.innerMap;
2625
innerMap.setOptions({
@@ -31,7 +30,6 @@ async function initMap(): Promise<void> {
3130
google.maps.event.addListener(innerMap, 'bounds_changed', async () => {
3231
placeAutocomplete.locationRestriction = innerMap.getBounds();
3332
});
34-
// [END maps_place_autocomplete_map_add]
3533

3634
// Create the marker and infowindow.
3735
marker = new google.maps.marker.AdvancedMarkerElement({

0 commit comments

Comments
 (0)