Skip to content
New issue

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

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

Already on GitHub? # to your account

County Map When A City is Clicked #5

Open
erdigokce opened this issue Nov 29, 2021 · 0 comments
Open

County Map When A City is Clicked #5

erdigokce opened this issue Nov 29, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@erdigokce
Copy link
Owner

erdigokce commented Nov 29, 2021

Introduction

When a city is clicked on the map there is no default behavior as the version of "v1.1.1". For majority of use cases can cover county base actions.

When a city clicked, a county map of the city can be displayed on a popup. This behavior can be enabled by a prop which is not present by default.

County data (built-in or custom) has to be explicitly imported in order to reduce bundle size when not used.

This release will not be backward compatible due to the current data prop has been changed.

Must Haves

  • Built-in county list has to be provided.
  • Current data prop will be renamed as cities.
  • A new prop named counties which accepts county data. This prop is undefined by default.
  • On click to a city, opacity of the Turkey Map will be reduced to .75 and City Map will be painted on top of the Turkey Map with centered vertically and horizontally.

Introduced In

v2.0.0

@erdigokce erdigokce added the enhancement New feature or request label Nov 29, 2021
@erdigokce erdigokce self-assigned this Nov 29, 2021
@erdigokce erdigokce changed the title County Map When Clicked To A City County Map When A City is Clicked Nov 29, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant