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] Several selectFeature control

2008-10-24 Thread Heidt, Christopher M.
what i had to resort to was a toggle button on my gui that switched back and forth between my two selectcontrols. It actually workied out better for me because when you toggle selectcontrols it brings that layer to the foreground, which makes it nice and easy to see what your selecting, especial

Re: [OpenLayers-Users] Several selectFeature control

2008-10-24 Thread Jacolin Yves
Hi, Thanks Christopher. I will try to find something else as I am using clustered strategies for my vector layers, I can't display polygones and their centroids on the same vector layer. Best regards, Y. Le Friday 24 October 2008 16:28:53 Heidt, Christopher M., vous avez écrit : > you can only

Re: [OpenLayers-Users] Several selectFeature control

2008-10-24 Thread Heidt, Christopher M.
you can only activaete one select control at a time. From: [EMAIL PROTECTED] on behalf of Jacolin Yves Sent: Fri 10/24/2008 10:22 AM To: users@openlayers.org Subject: [OpenLayers-Users] Several selectFeature control Hi, Is it possible to create more than one s

[OpenLayers-Users] Several selectFeature control

2008-10-24 Thread Jacolin Yves
Hi, Is it possible to create more than one selectFeature control for several vector layer? Something like this: ctl_pt = new OpenLayers.Control.SelectFeature( buildingsPt, { callbacks: { 'over': __hbsMouseOverFeatureCallback, '

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] Re load map from external function and make a layer visible

2008-10-24 Thread Christopher Schmidt
On Fri, Oct 24, 2008 at 04:26:47AM -0700, S.Reena wrote: > > Hi , > > I have made this layer in init() which I am calling when body loads in > map.html > > wms[8] = new OpenLayers.Layer.WMS.Untiled( > > "query1","http://gis.rtbi-iitm.in/cgi-bin/mapserv?map=/var/www/html/v2/map

[OpenLayers-Users] Re load map from external function and make a layer visible

2008-10-24 Thread S.Reena
Hi , I have made this layer in init() which I am calling when body loads in map.html wms[8] = new OpenLayers.Layer.WMS.Untiled( "query1","http://gis.rtbi-iitm.in/cgi-bin/mapserv?map=/var/www/html/v2/mapfile/query1.map";, {'layers':"query1",'transparent':"tru