Place

สถานที่ class

google.maps.places.Place ชั้นเรียน

คลาสนี้ใช้ PlaceOptions

เข้าถึงได้โดยโทรไปที่ const {Place} = await google.maps.importLibrary("places")
ดูไลบรารีใน Maps JavaScript API

Place
Place(options)
พารามิเตอร์: 
searchByText
searchByText(request)
พารามิเตอร์: 
ค่าที่ส่งคืน:  Promise<{places:Array<Place>}>
การค้นหาสถานที่โดยอิงตามคำค้นหาที่เป็นข้อความ