Shorter name for the option to create a custom cluster

This commit is contained in:
Tim Schaub committed 2021-07-15 21:35:59 -06:00
1 parent a617ef3caf
commit 1b9329ea91
2 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -84,7 +84,7 @@ describe('ol.source.Cluster', function () {
source: new VectorSource({
features: [feature1, feature2],
}),
createClusterFeature: function (clusterPoint, features) {
createCluster: function (clusterPoint, features) {
let sum = 0;
for (const ft of features) {
sum += ft.get('value');