The ui5-geomap-cluster-source defines the Cluster Source webcomponent.
ES6 Module Import
import "@ui5/webcomponents-geomap/dist/GeomapClusterSource.js";
Basic Sample
Properties
clusterProperties
| Description | Cluster properties |
| Type | object |
| Default | |
clusterRadius
| Description | Cluster radius - the bigger, the sooner points will be clustered |
| Type | number |
| Default | 50 |
clusterMinPoints
| Description | Cluster min points - minimum amount of points, required to form a cluster |
| Type | number |
| Default | 2 |
clusterMaxZoom
| Description | Cluster max zoom - when the zoom level is above this value, clustering is disabled |
| Type | number |
| Default | 0 |
geojson
| Description | GeoJSON as a source data. |
| Type | object |
| Default | |
geojsonUrl
| Description | geojsonUrl - URL to GeoJSON file used as data |
| Type | string |
| Default | "" |
Slots
No slots available for this component.
Events
No events available for this component.
Methods
getClusters
| Description | Returns all clusters, currently visible on the screen. |
| Return type | any |
setState
| Description | Sets feature state |
| Return type | void |
| Parameters | id: any state: any |
CSS Parts
No CSS parts available for this component.