Re: [OpenLayers-Users] Clustering and addFeatures method

2008-10-24 Thread Salvaro
The problem with the points was solved. But now trying another time using only Google Maps the problem continues. The map simply ignores the cluster options. Anyone have an idea about what can be happening? Any "different" config in the layer or in the overlayer? Thanks! Salvaro. Salvaro wrot

Re: [OpenLayers-Users] Clustering and addFeatures method

2008-10-24 Thread Salvaro
Now with correct reprojection (and using only GMaps Layer) it still isn't work. Looks like the strategy is being ignored by the GMaps Layer, the points ignore the distance, and if I clustered they before change the layer (5 points clustered in 3 points for an example), GMaps only shows these 3 poi

Re: [OpenLayers-Users] Clustering and addFeatures method

2008-10-24 Thread Salvaro
Hi Jacolin, Yes, I saw it, thanks :). The problem probably should be with the reprojection of the points, with opacity is possible to see the points being clustered, but when zooms in the map, they stay at the same position. Thanks! Jacolin Yves wrote: > > Le Friday 24 October 2008 14:07:10 S

Re: [OpenLayers-Users] Clustering and addFeatures method

2008-10-24 Thread Jacolin Yves
Le Friday 24 October 2008 14:07:10 Salvaro, vous avez écrit : > I'm using a vectorLayer over two different baselayers (WMS and Google Maps > Layer). > The cluster strategy works well when I'm using the WMS, but when I change > the baseLayer to the GMaps layer it stops. > I've to do something "diffe

Re: [OpenLayers-Users] Clustering and addFeatures method

2008-10-24 Thread Salvaro
I'm using a vectorLayer over two different baselayers (WMS and Google Maps Layer). The cluster strategy works well when I'm using the WMS, but when I change the baseLayer to the GMaps layer it stops. I've to do something "different" to fix it in the GMaps Layer? Or it should work? Thanks! -- Vie

Re: [OpenLayers-Users] Clustering and addFeatures method

2008-10-23 Thread Jacolin Yves
Le Thursday 16 October 2008 17:31:19 Eric Lemoine, vous avez écrit : > Hi Yves. I don't see anything wrong with what you're doing. So you're > saying you are adding two features (far from each other), and > nevertheless see only one of the two on the map, right? Could you cook > up a small example

Re: [OpenLayers-Users] Clustering and addFeatures method

2008-10-22 Thread Jacolin Yves
Le Wednesday 22 October 2008 16:00:36 Jacolin Yves, vous avez écrit : > Le Wednesday 22 October 2008 15:39:57 arno974, vous avez écrit : > > Ahh okay i understand what you want. > > > > With the OpenLayers.Strategy.Cluster you can only merge the features > > when they are close to each other. In y

Re: [OpenLayers-Users] Clustering and addFeatures method

2008-10-22 Thread Jacolin Yves
Le Wednesday 22 October 2008 15:39:57 arno974, vous avez écrit : > Ahh okay i understand what you want. > > With the OpenLayers.Strategy.Cluster you can only merge the features when > they are close to each other. In your example, the two points have been > merge into only one. > > If you want to

Re: [OpenLayers-Users] Clustering and addFeatures method

2008-10-22 Thread arno974
Ahh okay i understand what you want. With the OpenLayers.Strategy.Cluster you can only merge the features when they are close to each other. In your example, the two points have been merge into only one. If you want to enlarge the radius size of the point you must change with the pointRadius pa

Re: [OpenLayers-Users] Clustering and addFeatures method

2008-10-22 Thread Jacolin Yves
Le Wednesday 22 October 2008 12:33:04 arno974, vous avez écrit : > Hello Yves, > > Tried to add a new OpenLayers.Strategy.Fixed(), in your strategies and it > should work. > I noticed that the cluster doesn't work if i don't use the fixed strategy. > Maybe a bug or i didn't use it in a good way. >

Re: [OpenLayers-Users] Clustering and addFeatures method

2008-10-22 Thread arno974
Hello Yves, Tried to add a new OpenLayers.Strategy.Fixed(), in your strategies and it should work. I noticed that the cluster doesn't work if i don't use the fixed strategy. Maybe a bug or i didn't use it in a good way. Here you will find an example : http://geotribu.net/?q=node/47 Regards Ar

Re: [OpenLayers-Users] Clustering and addFeatures method

2008-10-21 Thread Jacolin Yves
Le Tuesday 21 October 2008 16:46:21 Eric Lemoine, vous avez écrit : > [..] > Doesn't work. OpenLayers.js cannot be loaded, isn't > www.lpdipro2.dev.local on a private network? > > -- > Eric he he ;) sorry, I changed all wrong url. Y. -- Yves Jacolin --- http://softlibre.gloobe.org _

Re: [OpenLayers-Users] Clustering and addFeatures method

2008-10-21 Thread Eric Lemoine
On Tue, Oct 21, 2008 at 2:23 PM, Jacolin Yves <[EMAIL PROTECTED]> wrote: > Le Thursday 16 October 2008 17:31:19 Eric Lemoine, vous avez écrit : >> Hi Yves. I don't see anything wrong with what you're doing. So you're >> saying you are adding two features (far from each other), and >> nevertheless s

Re: [OpenLayers-Users] Clustering and addFeatures method

2008-10-21 Thread Jacolin Yves
Le Thursday 16 October 2008 17:31:19 Eric Lemoine, vous avez écrit : > Hi Yves. I don't see anything wrong with what you're doing. So you're > saying you are adding two features (far from each other), and > nevertheless see only one of the two on the map, right? Could you cook > up a small example

Re: [OpenLayers-Users] Clustering and addFeatures method

2008-10-16 Thread Jacolin Yves
Le Thursday 16 October 2008 17:31:19 Eric Lemoine, vous avez écrit : > Hi Yves. I don't see anything wrong with what you're doing. So you're > saying you are adding two features (far from each other), and > nevertheless see only one of the two on the map, right? Could you cook > up a small example

Re: [OpenLayers-Users] Clustering and addFeatures method

2008-10-16 Thread Eric Lemoine
Hi Yves. I don't see anything wrong with what you're doing. So you're saying you are adding two features (far from each other), and nevertheless see only one of the two on the map, right? Could you cook up a small example so that we can reproduce the problem. Eric 2008/10/16, Jacolin Yves <[EMAIL

[OpenLayers-Users] Clustering and addFeatures method

2008-10-16 Thread Jacolin Yves
Hello, I am trying to set up a cluster strategy for one of my vector layer. I add this code to my existing code: var vector = new OpenLayers.Layer.Vector(name, { strategies: [ new OpenLayers.Strategy.Cluster({distance:20})