Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow defining style for features drawn on map #1309

Open
santilland opened this issue Oct 9, 2024 · 0 comments
Open

Allow defining style for features drawn on map #1309

santilland opened this issue Oct 9, 2024 · 0 comments
Labels
drawtools enhancement New feature or request

Comments

@santilland
Copy link
Member

Currently only a fixed style is applied. The draw tools are expected to be used in many environments, it would be beneficial to allow configuring the features style to match wherever they are integrated, i think following attributes would make sense for hover/not hover status (hovered feature gets "highlighted")

  • stroke-width
  • stroke-color
  • fill-color
@santilland santilland added enhancement New feature or request drawtools labels Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
drawtools enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant