Skip to content

Conversation

@TrevorBurgoyne
Copy link
Member

@TrevorBurgoyne TrevorBurgoyne commented Jan 13, 2025

Option to Disable Click and Hold

PLAT-821

Description

#129 introduced click-and-drag to polygon and polyline annotations, but did not add a way to disable the behavior. This closes #207 by adding the click_and_drag_poly_annotations flag to the configuration object, that when set to false prevents continuous points from being added.

PR Checklist

  • Merged latest main
  • Version number in package.json has been bumped since last release
  • Version numbers match between package package.json and src/version.js
  • Ran npm install and npm run build AFTER bumping the version number
  • Updated documentation if necessary (currently just in api_spec.md)
  • Added changes to changelog.md

Breaking API Changes

None

@TrevorBurgoyne TrevorBurgoyne added the enhancement New feature or request label Jan 13, 2025
@TrevorBurgoyne TrevorBurgoyne merged commit 6c1efae into main Jan 13, 2025
1 check passed
@TrevorBurgoyne TrevorBurgoyne deleted the fix/click-and-hold branch January 13, 2025 19:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Polygon Click + Hold Behavior

2 participants