[OpenLayers-Dev] Feature "select detection" implementation details needed

Christopher Schmidt crschmidt at metacarta.com
Wed Jun 6 09:43:26 EDT 2007


On Wed, Jun 06, 2007 at 02:29:45PM +0200, bkausbk wrote:
> > We use browser events -- mouseover/mouseout/click/etc. -- to register
> > events, then listen for those events. 
> 
> Oh I think now I understand you ... do you mean that native svg/vml 
> onmouseover/onmousedown events will be used? So OpenLayers is in no way 
> responsible for select detection.

Correct.

> I think in this case I have to do much work to implement intersecting polygon 
> features. Don't know if todays browsers are fast enough to handle this much 
> JavaScript :(

I believe Cameron did this in the earlier vector branch, so that he
could select features from multiple layers. You may wish to attempt to
get him to respond on the subject.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Dev mailing list