ImageMapster icon indicating copy to clipboard operation
ImageMapster copied to clipboard

Remove cursor / multiple map keys

Open rapha2 opened this issue 12 years ago • 2 comments

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

rapha2 avatar Jul 17 '13 11:07 rapha2

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.

jamietre avatar Jul 19 '13 14:07 jamietre

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,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.

— Reply to this email directly or view it on GitHub.

rapha2 avatar Aug 24 '13 15:08 rapha2

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.

techfg avatar Apr 01 '24 20:04 techfg