| 300 | | this.feature = object.feature; |
|---|
| 301 | | this.resetVertices(); |
|---|
| 302 | | this.dragControl.activate(); |
|---|
| 303 | | this.onModificationStart(this.feature); |
|---|
| 304 | | this.layer.events.triggerEvent("beforefeaturemodified", |
|---|
| 305 | | {feature: this.feature}); |
|---|
| | 300 | var cont = this.layer.events.triggerEvent( |
|---|
| | 301 | "beforefeaturemodified", {feature: object.feature} |
|---|
| | 302 | ); |
|---|
| | 303 | if(cont !== false) { |
|---|
| | 304 | this.feature = object.feature; |
|---|
| | 305 | this.resetVertices(); |
|---|
| | 306 | this.dragControl.activate(); |
|---|
| | 307 | this.onModificationStart(this.feature); |
|---|
| | 308 | } |
|---|