Revised version for checking geometry splittable
This commit is contained in:
@@ -314,7 +314,8 @@ OpenLayers.Control.Split = OpenLayers.Class(OpenLayers.Control, {
|
||||
isEligible: function(target) {
|
||||
return (
|
||||
target.state !== OpenLayers.State.DELETE
|
||||
) && (typeof target.geometry.split === "function"
|
||||
) && (
|
||||
typeof target.geometry.split === "function"
|
||||
) && (
|
||||
this.feature !== target
|
||||
) && (
|
||||
|
||||
Reference in New Issue
Block a user