Fixing tests
Selecting the same feature again should not do anything, which was ensured in the old implementation by a check in the SelectFeature control. This means that the previous commit causes a change in behavior in standalone mode, which I would consider a bugfix. I documented this change in the release notes.
This commit is contained in:
committed by
Bart van den Eijnden
parent
b103d3b428
commit
a5ea8d7fcf
@@ -44,7 +44,7 @@ The `enableKinetic` property for the DragPan control has been changed to true by
|
||||
## Control.ModifyFeature: no more built-in SelectFeature control
|
||||
|
||||
The ModifyFeature control is now much leaner, making it more reliable when combined with other controls. The most noticable change is that it has no
|
||||
`selectControl` member any more. Users who previously relied on this built-in SelectFeature control will now have to create both a SelectFeature and a ModifyFeature control and configure the ModifyFeature control with `standalone: true`. To get features selected, call the `selectFeature` method e.g. from a `featureselected` listener on the vector layer.
|
||||
`selectControl` member any more. Users who previously relied on this built-in SelectFeature control will now have to create both a SelectFeature and a ModifyFeature control and configure the ModifyFeature control with `standalone: true`. To get features selected, call the `selectFeature` method e.g. from a `featureselected` listener on the vector layer. Note that other than in the old implementation, calling `selectFeature` on an already selected feature will not do anything.
|
||||
|
||||
## Format.GPX: No more prefixes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user