hslayers-ng icon indicating copy to clipboard operation
hslayers-ng copied to clipboard

Layer is editable when editable is disabled in config

Open jmacura opened this issue 1 year ago • 0 comments

Bug

Describe the bug Layer can be edited even though there is the editor: {editable: false} property in the layer's properties. Tested for point layer.

To Reproduce Steps to reproduce the behavior:

  1. Set 'editor: {editable: false}' in layer properties
  2. Click on layer's feature
  3. See it shows in default style when hovered
  4. Try to drag the clicked point
  5. See it moves

Expected behavior When editable is set to false, it shouldn't be possible to drag the features and the style shall not change on hover.

Screenshots image image image

Additional context Initially discovered due to the styles applied on hover.

jmacura avatar May 03 '24 11:05 jmacura