Просмотр исходного кода

Map: change strategy cluster params for babidol layer

Piotr Labudda 10 лет назад
Родитель
Сommit
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",