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

maphilight({ alwaysOn: true }) doesn't work #2

Closed
schup opened this issue Sep 28, 2010 · 1 comment
Closed

maphilight({ alwaysOn: true }) doesn't work #2

schup opened this issue Sep 28, 2010 · 1 comment

Comments

@schup
Copy link

schup commented Sep 28, 2010

Setting the alwaysOn option on the full map seems to be broken.
It it is set to true none of the areas display - neither initially nor on mouse over.

The problem I believe is in the usage of the mouseover function

if(options.alwaysOn) {
    $(map).find('area[coords]').each(mouseover);
} 

... but mouseover checks for !area_options.alwaysOn

mouseover = function(e) {
  var shape, area_options;
  area_options = options_from_area(this, options);
  if( !area_options.neverOn && !area_options.alwaysOn ) { 
@kemayo
Copy link
Owner

kemayo commented Jan 11, 2011

This I can fix.

This issue was closed.
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