We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1867b77 commit 5c1108dCopy full SHA for 5c1108d
packages/core/src/features/ClusterFeature.ts
@@ -61,6 +61,15 @@ export class ClusterFeature extends Feature<'Point'> {
61
*/
62
properties: ClusterFeatureProperties;
63
64
+ /**
65
+ * The geometry of a cluster feature is of type 'Point',
66
+ * where the `coordinates` represent the geographical coordinates [longitude, latitude] of the cluster center.
67
+ */
68
+ geometry: {
69
+ type: 'Point',
70
+ coordinates: GeoJSONCoordinate
71
+ };
72
+
73
/**
74
* Returns the features within the cluster.
75
* @returns An array containing the features within the cluster.
0 commit comments