Places
import { ... } from "@95octane/common/maps/places"
| Function | Description |
|---|---|
searchPlace(options) |
Text search via Google Places API |
getPlaceByName(options) |
Get place details by resource name |
getPhotoMedia(options) |
Get photo URI for a place (max 1024px) |
getBreakpointType(types) |
Map Google place types to app types |
All requests have a 4-second timeout. Errors use codes PLACES_SEARCH_FAILED /
PLACES_PHOTO_FAILED.