Skip to content

Commit 2d58046

Browse files
authored
Added region tags for Place Search Text and Nearby update functions (#990)
1 parent 7b9a161 commit 2d58046

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

samples/ui-kit-place-search-nearby/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ async function init(): Promise<void> {
6363
searchPlaces();
6464
}
6565
/* [END maps_ui_kit_place_search_nearby_event] */
66+
/* [START maps_ui_kit_place_search_nearby_function] */
6667
// The searchPlaces function is called when the user changes the type select or when the page loads.
6768
async function searchPlaces() {
6869
// Close the info window and clear the markers.
@@ -85,6 +86,7 @@ async function searchPlaces() {
8586
placeSearchQuery.includedTypes = [typeSelect.value];
8687
}
8788
}
89+
/* [END maps_ui_kit_place_search_nearby_function] */
8890

8991
// The addMarkers function is called when the place search element loads.
9092
async function addMarkers() {

samples/ui-kit-place-search-text/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ async function init(): Promise<void> {
7171
searchPlaces();
7272
}
7373
/* [END maps_ui_kit_place_search_text_event] */
74+
/* [START maps_ui_kit_place_search_text_function] */
7475
// The searchPlaces function is called when the user changes the query input or when the page loads.
7576
async function searchPlaces() {
7677
// Close the info window and clear the markers.
@@ -91,6 +92,7 @@ async function searchPlaces() {
9192
placeSearchQuery.textQuery = queryInput.value;
9293
}
9394
}
95+
/* [END maps_ui_kit_place_search_text_function] */
9496

9597
// The addMarkers function is called when the place search element loads.
9698
async function addMarkers() {

0 commit comments

Comments
 (0)