-
Notifications
You must be signed in to change notification settings - Fork 330
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
[📘] Docs incorrectly state that highlighting will be disabled when staticState option is specified #138
Comments
|
Quote from your docs: "The basic version shown inline here demonstrates a few options. altImage allows a different image to be used for both the highlight and select effects. Washington is set to staticState=false which prevents it from being highlighted or selected, while Oregon is configured with isSelectable=false which prevents it from being selected, but it will still highlight. Texas and Maine are pre-selected using default options." Anyway sometimes you need to programmatically disable areas. |
Point taken.. let me think about this, there's some major work coming soon on the plugin. |
Thank you for pointing this out and apologies for the delayed reply. As @jamietre indicates, Marking this as a docs bug and will address when docs are updated. Relevant docs that require adjusting:
|
According to docs
staticState: false
should prevents area from being highlighted or selected. See WA on your USA demo map, area is still highlighted.staticState: false
+highlight: false
will do the trick, but area is still clickable ifclickNavigate: true
.The text was updated successfully, but these errors were encountered: