Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "Places/index"

Index

Variables

DESTINATION_BREAK_LEVELS

DESTINATION_BREAK_LEVELS: Level[] = [Level.CITY, Level.TOWN, Level.VILLAGE, Level.ISLAND]

Functions

addPlaceReview

  • addPlaceReview(placeId: string, rating: number, message: string): Promise<PlaceReview>

createCustomPlace

deleteCustomPlace

  • deleteCustomPlace(id: string): Promise<void>

deletePlaceReview

  • deletePlaceReview(reviewId: number): Promise<void>

detectParentsByBounds

  • detectParentsByBounds(bounds: Bounds, zoom: number): Promise<Place[]>

detectParentsByLocation

getDetailedPlace

  • getDetailedPlace(id: string, photoSize: string): Promise<DetailedPlace>

getDetailedPlaces

  • getDetailedPlaces(ids: string[], photoSize: string): Promise<DetailedPlace[]>

getDetailedPlacesMap

  • getDetailedPlacesMap(ids: string[], photoSize: string): Promise<Map<string, Place>>

getPlaceAutoTranslation

getPlaceDestination

  • getPlaceDestination(place: Place, parentPlacesMap: Map<string, Place>): Place

getPlaceGeometry

getPlaceMedia

  • getPlaceMedia(id: string): Promise<Medium[]>

getPlaceOpeningHours

  • getPlaceOpeningHours(id: string, from: string, to: string): Promise<PlaceOpeningHours>

getPlaceReviews

  • getPlaceReviews(placeId: string, limit: number, page: number): Promise<PlaceReviewsData>

getPlaceReviewsFromYelp

getPlaces

getPlacesDestinationMap

  • getPlacesDestinationMap(placesIds: string[], imageSize: string): Promise<Map<string, Place>>

getPlacesMapFromTrip

  • getPlacesMapFromTrip(trip: Trip, imageSize: string): Promise<Map<string, Place>>

getPlacesStats

isPlaceDestination

  • isPlaceDestination(place: Place): boolean

mergePlacesArrays

updateCustomPlace

voteOnReview

  • voteOnReview(reviewId: number, voteValue: number): Promise<void>
  • Parameters

    • reviewId: number
    • voteValue: number

    Returns Promise<void>

Generated using TypeDoc