-
Notifications
You must be signed in to change notification settings - Fork 39
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
[Feature] Disabling individual area coords. #2
Comments
Great Feature, I am willing to add that feature to my project |
Awesome! Thank you very much. Great work! |
I am planning to add If you are passing it will give similar results to that https://img-mapper.github.io/react-docs/?path=/story/examples-area--show-highlighted-area |
That's perfect! |
Hello @meljason Please upgrade your version to Here are the docs https://img-mapper.github.io/react-docs/?path=/story/examples-area--in-array-show-highlighted-area Thanks |
did you upgrade the package to |
@NishargShah Yes it works now. I just forgot to restart my localhost. Thank you! |
Is your feature request related to a problem? Please describe.
It is not a big problem but I think a bool disabled function would be great as sometimes on site-plans, I want to disable certain sold-out area.
Describe the solution you'd like
Probably something like disable boolean that we can add when we declare the map const.
Describe alternatives you've considered
Currently I am updating the id to empty so that users cannot click on that certain area. But this is not the best solution because users can technically still click on it. It is just that it is not linked to that id because I removed it. A disable boolean would be a better way to do it.
The text was updated successfully, but these errors were encountered: