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

Christopher Schmidt crschmidt at metacarta.com
Wed Jun 6 07:53:37 EDT 2007


On Wed, Jun 06, 2007 at 01:20:42PM +0200, bkausbk wrote:
> Dear OpenLayers Users and Developers,
> 
> I'm currently studying implementation of OpenLayers components with the aim to
> extend it by a specific function. (More later)
> 
> I took /examples/select-feature.html for example. If you draw polygons there and
> move the mouse over the window each time the mouse is hovering over a polygon
> the mouse pointer changes to "hand pointer" and resets to default pointer as
> soon as I'm leaving polygon area. But I didn't find any code which is
> responsible for this.

We use browser events -- mouseover/mouseout/click/etc. -- to register
events, then listen for those events. 

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Dev mailing list