openlayers / openlayers/openlayers

Add `FlatStyle` suppot for `Select` interaction

Open
#16,893 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature request
Dominant language
JavaScript
Stars
12.6k
Forks
3.2k
Avg merge
2d 17h
Merged PRs (30d)
21

Description

Is your feature request related to a problem? Please describe.

At the moment the Select interaction only support Style as style option (https://openlayers.org/en/latest/apidoc/module-ol_interaction_Select-Select.html)

Describe the solution you'd like

It would be nice to also support FlatStyle

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Select interaction API documentation linked in the issue and inspect how its style option currently handles Style. Compare that behavior with FlatStyle support, then verify the interaction accepts the requested style option and add or update the relevant tests and documentation if those locations are found.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.