Merged in feat/SW-1616-clustering (pull request #1330)

feat(SW-1616): Added clustering on destination country/city pages

* feat(SW-1616): Added clustering on destination country/city pages


Approved-by: Fredrik Thorsson
Approved-by: Matilda Landström
This commit is contained in:
Erik Tiekstra
2025-02-14 06:31:01 +00:00
parent 7fac673fbc
commit f9a03052b1
13 changed files with 342 additions and 22 deletions

View File

@@ -1,6 +1,13 @@
import type { FeatureCollection, Point } from "geojson"
export interface DestinationMarker {
id: string
type: string
name: string
coordinates: google.maps.LatLngLiteral
}
export type MarkerProperties = Omit<DestinationMarker, "coordinates">
export type MarkerGeojson = FeatureCollection<Point, MarkerProperties>
export type MarkerFeature = MarkerGeojson["features"][number]