views:

78

answers:

1

I'm using this plugin http://davidlynch.org/js/maphilight/docs/

But can't figure out, how to change color on fly. It uses metadata plugin, and does it via class directive, but changes don't apply on fly.

e.g.

class="{stroke:false,fillColor:'000000',fillOpacity:1,alwaysOn:true}"

and now I want to change color:

class="{stroke:false,fillColor:'00ffff',fillOpacity:1,alwaysOn:true}"
A: 

OK, I found that using canvas resolve my issue.

Alex Ivasyuv