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

feat: highlight multiple features with same string id (DHIS2-11969) #447

Merged
merged 1 commit into from
Feb 23, 2022

Conversation

turban
Copy link
Collaborator

@turban turban commented Feb 23, 2022

This PR allows multiple features with the same id to be highlighted (hover state). It will be used for the upcoming "catchment area" support when the same org unit can be represented by two geometries (point and polygon).

Partly fixes: https://jira.dhis2.org/browse/DHIS2-11969

This change is backwards compatible with the Maps app, which still calls the "highlight" method with the org unit id for the layer in use.

Screen recording showing how both a point and a polygon will be highlighted:
ezgif com-gif-maker

@turban turban merged commit 3a3f65e into master Feb 23, 2022
@turban turban deleted the feat/multiple-features-highlight branch February 23, 2022 10:21
dhis2-bot added a commit that referenced this pull request Feb 23, 2022
# [3.1.0](v3.0.9...v3.1.0) (2022-02-23)

### Features

* highlight multiple features with same string id ([#447](#447)) ([3a3f65e](3a3f65e))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 3.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants