erdigokce / turkey-map-react

An out-of-the-box city map of Turkey for React JS applications.
https://www.npmjs.com/package/turkey-map-react
MIT License
73 stars 8 forks source link

County Map When A City is Clicked #5

Open erdigokce opened 2 years ago

erdigokce commented 2 years ago

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

Introduced In

v2.0.0