[OpenLayers-Dev] Bug in rendering features with cluster strategy

Eric Lemoine eric.c2c at gmail.com
Tue Nov 4 01:38:45 EST 2008


On Tue, Nov 4, 2008 at 6:53 AM, Tim Schaub <tschaub at opengeo.org> wrote:
> Eric Lemoine wrote:
>> Tim, what about this case: feature is selected then is *removed* from
>> the layer.  Eventually the feature handler triggers "mouseout", which
>> makes the select feature control call drawFeature for a feature which
>> isn't in the layer. Eric
>
> layer.removeFeatures sets feature.layer to null
>
> The Feature handler shouldn't handle any features with a non-truthy layer.

Yeah, I realized that.

--
Eric



More information about the Dev mailing list