Merged in feat/SW-2241-country-map (pull request #2808)
Feat/SW-2241 country map Approved-by: Erik Tiekstra Approved-by: Chuma Mcphoy (We Ahead)
This commit is contained in:
@@ -18,3 +18,19 @@ export type MarkerProperties = Omit<DestinationMarker, "coordinates">
|
||||
|
||||
export type MarkerGeojson = FeatureCollection<Point, MarkerProperties>
|
||||
export type MarkerFeature = MarkerGeojson["features"][number]
|
||||
|
||||
export interface CityMarker {
|
||||
id: string
|
||||
name: string
|
||||
coordinates: google.maps.LatLngLiteral
|
||||
url: string
|
||||
image: GalleryImage
|
||||
|
||||
hotelsCount: number
|
||||
}
|
||||
|
||||
export type CityMarkerProperties = Omit<CityMarker, "coordinates">
|
||||
export type CitiesClusterMarkerProperties = CityMarkerProperties[]
|
||||
|
||||
export type CityMarkerGeojson = FeatureCollection<Point, CityMarkerProperties>
|
||||
export type CityMarkerFeature = CityMarkerGeojson["features"][number]
|
||||
|
||||
Reference in New Issue
Block a user