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

Ivan Grcic igrcic at gmail.com
Thu Aug 13 07:35:42 EDT 2009


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<manuel.albela at gmail.com> wrote:
> 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 friendly to use the
> click instead of the box.
>
> Thank you!
>
> Manu
>
> On Thu, Aug 13, 2009 at 12:25 PM, Ivan Grcic <igrcic at gmail.com> wrote:
>>
>> Hi, cant you use box selection? Or it HAS to be click?
>>
>> On Thu, Aug 13, 2009 at 12:12 PM, Manuel Albela
>> Miranda<manuel.albela at gmail.com> 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 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.
>> >
>> > Manu.
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users at openlayers.org
>> > http://openlayers.org/mailman/listinfo/users
>> >
>> >
>>
>>
>>
>> --
>> Ivan Grcic
>
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
>



-- 
Ivan Grcic



More information about the Users mailing list