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

Variable fill color on hover #223

Closed
jdeproost opened this issue Jan 16, 2015 · 2 comments
Closed

Variable fill color on hover #223

jdeproost opened this issue Jan 16, 2015 · 2 comments

Comments

@jdeproost
Copy link

Hello,

I'm trying to implement an image map that has a green(ish) fill-color on hover for available area's and red fill-color on hover for none available area's.

I tried to use the keys but did not succeed...
Can someone provide a short example?

Thanks,
Johnny

@techfg
Copy link
Collaborator

techfg commented Jan 31, 2021

Hello @jdeproost -

Thank you for your inquiry, apologies for the delayed reply!

For further reference, the best place to ask general support questions on IM is to utilize one of the options as described in our Support page.

With that being said, you can accomplish what you are after. You can do so via using the areas option and specifying different render_select/render_highlight fill colors based on mapKey. Additionally, you could use onmouseover event and the set_options API to specify the fill color for a particular area. Please see the docs for more information about these options & APIs.

It sounds like you were trying this but it wasn't working. If you feel it wasn't working because of a possible bug in IM, please update this ticket per our Bug Reports guidelines and we'd be happy to take a closer look.

@techfg
Copy link
Collaborator

techfg commented Mar 14, 2021

Hello @jdeproost -

It has been over 30 days since we last heard from you so we are going to close this issue.

If you need further assistance, please choose one of the following options:

  1. For general IM questions, how to's, usage, etc., please use one of the options described on our Support page.
  2. If you believe you have identified a bug in IM, please update this issue following our Bug Reports guidelines.
  3. If you would like to request a new feature for IM, please open a new issue following our Feature Requests guidelines.

@techfg techfg closed this as completed Mar 14, 2021
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

No branches or pull requests

2 participants