keshav1007
Posts: 8
Joined: Mon Apr 02, 2018 10:09 am

Bubble for states in world map

Hi,

Is there a way to show bubbles for states (not countries) in world map using high maps.

I am using custom/world map

Thanks in advance
ppotaczek
Posts: 751
Joined: Mon Oct 02, 2017 3:12 pm

Re: Bubble for states in world map

Hi keshav1007,

You can use 'mapbubble' series for different types of maps, but you need to have 'z' value in data. Please describe the problem more precisely, if you need some other help.

API Reference: https://api.highcharts.com/highmaps/ser ... ubble.data
Live demo: http://jsfiddle.net/BlackLabel/24w5crh7/

Best regards!
Paweł Potaczek,
Highcharts Developer
keshav1007
Posts: 8
Joined: Mon Apr 02, 2018 10:09 am

Re: Bubble for states in world map

I am able to plot bubble on states inside a country map. But what I want to implement is I need to plot bubble on states on a world map. Right now i am able to plot only countries on world map but i need to plot states on a world map. How can i do that?
ppotaczek
Posts: 751
Joined: Mon Oct 02, 2017 3:12 pm

Re: Bubble for states in world map

Hi keshav1007,

If you do not have a map of the world with the regions of the countries, the only way seems to be adding 'mapbubble' series points by latitude/longitude. Please check the live demo and the docs.

Live demo: http://jsfiddle.net/BlackLabel/xoqkmguw/
Docs: https://www.highcharts.com/docs/maps/latlon

Best regards!
Paweł Potaczek,
Highcharts Developer
keshav1007
Posts: 8
Joined: Mon Apr 02, 2018 10:09 am

Re: Bubble for states in world map

Yep I was using lat and lon to plot states in world map. I was curious to know if there are any other options. Thanks :)

Return to “Highcharts Maps”