nichemedia
Posts: 6
Joined: Wed Aug 31, 2022 8:55 am

Changed map behaviour since publishing

Hi there

We recently published this map:

https://pantryandlarder.com/cheap-tipple-finder/

However, the behaviour has recently changed so that the base map (UK country) gets greyed out when you hover over a point.

It did not use to do this in this manner, and I have a feeling that maybe an update to the highcharts default behaviour has caused this?

Can you help me to restore the previous behaviour that does not dim the actual map so much when a point is hovered on?

Thank you
User avatar
dawid.d
Posts: 807
Joined: Thu Oct 06, 2022 11:31 am

Re: Changed map behaviour since publishing

Hi,

We appreciate you reaching out to us!

Your problem comes from that the map is a series itself, just like points. When you hover over a series with points, other series will switch to inactive by default. To prevent this, disable this state using the sates.inactive.enabled attribute.

API: https://api.highcharts.com/highmaps/ser ... ve.enabled
Demo: https://jsfiddle.net/BlackLabel/efo8zu1t/

Let me know if that was what you were looking for!
Kind regards
Dawid Draguła
Highcharts Developer
nichemedia
Posts: 6
Joined: Wed Aug 31, 2022 8:55 am

Re: Changed map behaviour since publishing

Ok, will give that a try.

However, the behaviour was not as pronounced a few weeks ago when I first created the map.

What has changed on your end since? I have not made any changes yet the appearance/behaviour on tooltip hover has changed.

Thanks
User avatar
dawid.d
Posts: 807
Joined: Thu Oct 06, 2022 11:31 am

Re: Changed map behaviour since publishing

You're welcome!

From what I can see, this behaviour has changed since v10.3. Until version 10.2.1, it wasn't necessary to disable the inactive state for the map series to make it behave as you want.

If you want to switch back to the previous version, import the script of the Highcharts Maps from this link:

Code: Select all

https://code.highcharts.com/maps/10.2.1/highmaps.js
Demo: https://jsfiddle.net/BlackLabel/1tf5pxkn/

In case of any further questions, feel free to contact us again.
Regards!
Dawid Draguła
Highcharts Developer

Return to “Highcharts Maps”