Re: [OpenLayers-Users] Selecting multiple features in the same point

2009-08-14 Thread Ivan Grcic
Yes, cluster is pretty nice feature to have. I advise to use it with BBOX strategy, especially if u have lots of features! Cheers On Fri, Aug 14, 2009 at 8:58 AM, Manuel Albela Miranda wrote: > Hi again! > > Thank you very much Ivan and Jerome for you help. Clusters work great!, just > what I nee

Re: [OpenLayers-Users] Selecting multiple features in the same point

2009-08-13 Thread Manuel Albela Miranda
Hi again! Thank you very much Ivan and Jerome for you help. Clusters work great!, just what I needed. Best regards, and thank you again! Manu On Thu, Aug 13, 2009 at 1:43 PM, Jerome Freyre wrote: > > Hi Manuel, > > Another way should be the use of the cluster strategy. > If you activate the st

Re: [OpenLayers-Users] Selecting multiple features in the same point

2009-08-13 Thread Jerome Freyre
Hi Manuel, Another way should be the use of the cluster strategy. If you activate the strategy, all closest points are transform in one feature called cluster. And the cluster contains points so you can easily display informations about your points. http://openlayers.org/dev/examples/strategy-c

Re: [OpenLayers-Users] Selecting multiple features in the same point

2009-08-13 Thread Ivan Grcic
maybe faking selectBox after feature has been selected? onSelect : function(feature){ this.selectBox( /* calculate box from feature.geometry */) } On Thu, Aug 13, 2009 at 1:15 PM, Manuel Albela Miranda wrote: > Hi Ivan, > > I already have it working with the box selection, but for the user it

Re: [OpenLayers-Users] Selecting multiple features in the same point

2009-08-13 Thread Manuel Albela Miranda
Hi Ivan, I already have it working with the box selection, but for the user it will be easier to click on a point and get all the different features related to it. The selection box works perfect for multiple points, but when you need the precision of one point I think it will be more user friendl

Re: [OpenLayers-Users] Selecting multiple features in the same point

2009-08-13 Thread Ivan Grcic
Hi, cant you use box selection? Or it HAS to be click? On Thu, Aug 13, 2009 at 12:12 PM, Manuel Albela Miranda wrote: > Hi everybody!, > > I have one GML layer where some of the points are in the same location, so > I'm wondering if it's possible to get all the features that are at that > location

[OpenLayers-Users] Selecting multiple features in the same point

2009-08-13 Thread Manuel Albela Miranda
Hi everybody!, I have one GML layer where some of the points are in the same location, so I'm wondering if it's possible to get all the features that are at that location when you click on it by using the SelectFeature control or if there is another way to do that. Thank you very much in advance.