ImageMapster
ImageMapster copied to clipboard
Remove cursor / multiple map keys
Hi everyone, is there any way to remove the hand-cursor of certain areas so that they are completely static? And my second question is, weather it is possible to create multiple map keys like so:
mapKey: 'class',
areas : [
{key : 'testclass',fillColor: '7DA83F',fillOpacity : 0.9}
],
mapKey: 'id',
areas : [
{key : 'testid',fillColor: '7DA83F',fillOpacity : 0.9}
]
Thanks, I appreciate your help!
Rapha
You can create more than one key on an area, you can refer to them just like this:
mapKey: 'data-key',
areas : [
{key : 'testclass',fillColor: '7DA83F',fillOpacity : 0.9}
areas : [
{key : 'testid',fillColor: '7DA83F',fillOpacity : 0.9}
]
It looks like in your example you're hoping to identify keys on more than one attribute - in fact you just specify more than one key in a single attribute e.g.
`mapKey='testclass,testid`
There is more information about this here :http://blog.outsharked.com/2012/03/area-groups-in-imagemapster.html
There's somewhat different behaviour when using the 1st key versus the 2nd key.
Hi, i was wondering if the following is possible with imagemapster: i need area 1 and area 2. When i hover one of them both have to highlight but in different colors, for example area 1 is blue and green when i hover one of them and area 2 is yellow and red on hover. Thanks for your help! Best regards,
Raphael Am Freitag, 19. Juli 2013 schrieb James Treworgy [email protected]:
You can create more than one key on an area, you can refer to them just like this:
mapKey: 'data-key', areas : [ {key : 'testclass',fillColor: '7DA83F',fillOpacity : 0.9} areas : [ {key : 'testid',fillColor: '7DA83F',fillOpacity : 0.9} ]
It looks like in your example you're hoping to identify keys on more than one attribute - in fact you just specify more than one key in a single attribute e.g.
mapKey='testclass,testidThere is more information about this here : http://blog.outsharked.com/2012/03/area-groups-in-imagemapster.html
There's somewhat different behaviour when using the 1st key versus the 2nd key.
— Reply to this email directly or view it on GitHub.
Hi @rapha2 -
It appears that your original questions were answered, and you opened #159 for your most recent question so closing this and will address your second question there.