OpenLayers源码解析9 ol/source/Cluster.js ol/source/Cluster.js
ol/source/Cluster.js父类ol/source/Cluster-Cluster主要功能聚类点数据源。参数:VectorSource({})参数类型说明distancenumber (defaults to 20)要素在多少像素距离内会被分为一类sourcemodule:ol/source/Vector~VectorSource数据源方法/** * @module ol/source/Cluster */import E