[OpenLayers-Users] Polygon Cluster

2008-10-27 Thread Jacolin Yves
Hi, I am still working on the cluster strategy for my vector layer. I am testing cluster on my polygone layers, but I never see my polygon, always cluster point are displayed (see [2] for a link to a demo). Tim Schaub wrote in the OL blog [1]: This works for features with all geometry types

Re: [OpenLayers-Users] Polygon Cluster

2008-10-27 Thread Jerome Freyre
It's normal because the cluster strategy replace your features with points. The main goal for a cluster strategy is to regroup features that are close and make the map the more readable. And with the cluster strategy you can change the radius of the clustered points like that : // Définit les

Re: [OpenLayers-Users] Polygon Cluster

2008-10-27 Thread Jacolin Yves
Le Monday 27 October 2008 16:42:39 Jerome Freyre, vous avez écrit : It's normal because the cluster strategy replace your features with points. The main goal for a cluster strategy is to regroup features that are close and make the map the more readable. And with the cluster strategy you can

Re: [OpenLayers-Users] Polygon Cluster

2008-10-27 Thread Jacolin Yves
Hello, Le Monday 27 October 2008 17:15:24 Jerome Freyre, vous avez écrit : It's Jerome ;) oupss, sorry Jerome! Unfortunaly not... All the feature added in a Layer that use the cluster strategy will be represented as a point. Ok I undestand now :) If at a certain level of zoom you want to

Re: [OpenLayers-Users] Polygon Cluster

2008-10-27 Thread Jacolin Yves
Le Monday 27 October 2008 17:28:04 Jerome Freyre, vous avez écrit : Maybe If I found a solution to uncluster some features a zoom level, I mail you ;) Thanks ! Y. -- Yves Jacolin --- http://softlibre.gloobe.org ___ Users mailing list

Re: [OpenLayers-Users] Polygon Cluster

2008-10-27 Thread Tim Schaub
Hey- Jacolin Yves wrote: Le Monday 27 October 2008 17:28:04 Jerome Freyre, vous avez écrit : Maybe If I found a solution to uncluster some features a zoom level, I mail you ;) It would be a pretty trivial patch to add an option to the strategy that would cause the real feature to get added