Merge pull request #805 from mosesonline/unselectAllFix
unselectAll on removing layer fix
This commit is contained in:
@@ -325,10 +325,8 @@ OpenLayers.Handler.Feature = OpenLayers.Class(OpenLayers.Handler, {
|
||||
// we enter handle. Yes, a bit hackish...
|
||||
this.feature = null;
|
||||
}
|
||||
} else {
|
||||
if(this.lastFeature && (previouslyIn || click)) {
|
||||
this.triggerCallback(type, 'out', [this.lastFeature]);
|
||||
}
|
||||
} else if(this.lastFeature && (previouslyIn || click)) {
|
||||
this.triggerCallback(type, 'out', [this.lastFeature]);
|
||||
}
|
||||
return handled;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user