[OpenLayers-Users] Clustering lots feautures and making them selectable with a box

2010-02-05 Thread Florian Diederichs
Hi list, i might be on the wrong board, so sorry in advance... I made an OL-application that draws vector features as clusters and makes them selectable via drawing a box. I modified the cluster strategy, so that the attributes of the features get copied to the clusters in a way that lets me ext

Re: [OpenLayers-Users] Labeling clustered features

2009-09-04 Thread Florian Diederichs
ributes.count, 7) + 3; > }, > count: function(feature) { > return feature.attributes.count; > } > } > > Regards, > Andreas. > > Florian Diederichs wrote: >> Hello, >> >> thanks for replying, i guess i should have mentioned, that i cop

Re: [OpenLayers-Users] Labeling clustered features

2009-09-04 Thread Florian Diederichs
Hello, thanks for replying, i guess i should have mentioned, that i copy the attributes from the features to the clusters. However the attribute i wanted to use as the label is the 'cluster.attributes.count' which is there by default anyway, when i remember correctly. So in my case, the clusters

[OpenLayers-Users] Labeling clustered features

2009-09-04 Thread Florian Diederichs
Hi all, i've encountered a problem, trying to label my clusters. The label just says "undefined" with my clustered layer, but works fine with my regular vector layers. I labeled them the way it is show in the example http://openlayers.org/dev/examples/vector-features-with-text.html Any advice

Re: [OpenLayers-Users] Unselecting multiple features

2009-07-28 Thread Florian Diederichs
Eric Lemoine-2-2 wrote: > > > Hi. I know what's going on: when selecting features by drawing a box > the feature handler does not participate in the selection so it never > triggers the clickout callback. I don't see any other way than faking > the feature handler, see the patch attached to thi

[OpenLayers-Users] Unselecting multiple features

2009-07-27 Thread Florian Diederichs
Hi all, I have encountered a problem with the SelectFeature-Control. I wonder if anybody has a workaround/patch, knows anything, or is seeing something I am not. Any help would be very much appreciated. The problems arises every time I use this function: select: new OpenLayers.Control.SelectFe