瀏覽代碼

Map: change strategy cluster params for babidol layer

Piotr Labudda 10 年之前
父節點
當前提交
c2273d037f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      SE/se-lib/TableAjaxMap.php

+ 1 - 1
SE/se-lib/TableAjaxMap.php

@@ -197,7 +197,7 @@ var myOpenLayers_Control_ManageLayers = OpenLayers.Class(OpenLayers.Control, {
 			})
 		});
 		var testLayerBabidol = new OpenLayers.Layer.Vector(layerName, {
-			strategies: [new OpenLayers.Strategy.BBOX(), new OpenLayers.Strategy.Cluster({distance:30, threshold:3})],
+			strategies: [new OpenLayers.Strategy.BBOX(), new OpenLayers.Strategy.Cluster({distance:20, threshold:10})],
 			projection: new OpenLayers.Projection("EPSG:4326"),
 			protocol: new OpenLayers.Protocol.WFS({
 				version: "1.1.0",