Hi,

you can use 
http://github.com/ahocevar/ol-performance/blob/master/static/script/FeatureAgent.js

The last two lines in the above file add the additional event types to 
Layer.Vector:

OpenLayers.Layer.Vector.prototype.EVENT_TYPES.push("featureover", "featureout",
    "featureclick", "nofeatureclick");

These two additional lines are the only difference from Tim's original.

Regards,
Andreas.


On Oct 4, 2010, at 09:59 , Stefanie Weykam wrote:

> Hi list members,
> I have come across a previous posting regarding Tim Schaub’s FeatureAgent. I 
> am very interested too in drilling down all features of several layers in 
> order to highlight, query etc.
> 
> I already found the FeatureAgent.js in Tim’s sandbox. But the message 
> (oct.2009) mentioned modifications on Vector.js as well.
> Is the a patch available ?
> 
> Best regards
> 
> _______________________________________________
> Dev mailing list
> d...@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-dev



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.

_______________________________________________
Dev mailing list
d...@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-dev

Reply via email to