openlayers3:如何显示ol.source.Cluster的边界?

时间:2016-06-18 14:09:35

标签: javascript openlayers-3

我在地图上显示基于ol.source.Cluster的{​​{1}},但我想知道是否可以为ol.source.Vector添加样式,以便我能够看到边界集群。

我相信这是我想要实现的一个很好的例子(但仅使用OpenLayers 3):https://www.mapbox.com/mapbox.js/example/v1.0.0/listing-marker-clusters/

到目前为止,我的代码实际上是此示例的复制粘贴: http://openlayers.org/en/v3.10.1/examples/cluster.html

0 个答案:

没有答案