File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
ui-kit-place-search-nearby Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff 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.
6768async 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.
9092async function addMarkers ( ) {
Original file line number Diff line number Diff 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.
7576async 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.
9698async function addMarkers ( ) {
You can’t perform that action at this time.
0 commit comments