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

Map chart #1895

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Map chart #1895

wants to merge 9 commits into from

Conversation

Lyq322
Copy link

@Lyq322 Lyq322 commented Aug 16, 2023

What kind of change does this PR introduce? (check one with "x")

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Other... Please describe:

What is the current behavior? (You can also link to an open issue here)
Issue #1894

What is the new behavior?
New map chart type for displaying geographic data. Map is made using leaflet.js library with OpenStreetMap as map source.

The map chart supports various features, including:

  • Zooming and panning
  • Setting markers
    Screenshot 2023-08-15 at 11 41 04 PM
  • Filtering markers when clicked legend
    Screenshot 2023-08-15 at 11 41 26 PM
  • Customizing map center coordinate
  • Customizing initial center coordinate and zoom level
  • Customizing map language (3 options: Native, German, English)
    Native
    Screenshot 2023-08-15 at 11 45 09 PM
    German
    Screenshot 2023-08-15 at 11 45 44 PM
    English
    Screenshot 2023-08-15 at 11 45 55 PM

It also retains common features of other charts from ngx-charts:

  • Tooltip
    Screenshot 2023-08-15 at 11 42 18 PM
  • Color scheme
    Screenshot 2023-08-15 at 11 42 56 PM
    Screenshot 2023-08-15 at 11 43 04 PM
  • Legend (title, position)
    Screenshot 2023-08-15 at 11 43 40 PM
  • Set different dimensions for chart / fit container

Does this PR introduce a breaking change? (check one with "x")

  • Yes
  • No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...

Other information:

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

Successfully merging this pull request may close these issues.

1 participant