imovator
Posts: 6
Joined: Mon Jul 04, 2022 1:21 am

I want to create a world map combo list using Vue. What should I do?

Hello.
Currently, I am making a map chart using Vue.

https://www.highcharts.com/docs/maps/map-collection
Sample : https://codesandbox.io/s/rdp7f

I have completed the initial setup according to the guide document above.

import mapData from '@highcharts/map-collection/custom/world.geo.json'

I succeeded in viewing the world map in the same way as above.
However, the map of a specific country does not open.

https://github.com/highcharts/map-collection-dist
I tried to import by referring to the specific country path from the above site, but it failed.

I would like to configure the world/city combo list so that the user can see the selected map. What should I do?
michal.f
Posts: 1114
Joined: Thu Aug 12, 2021 12:04 pm

Re: I want to create a world map combo list using Vue. What should I do?

Hello,
However, the map of a specific country does not open.
Country maps do not open because this demo does not have this functionality. You have to add it yourself. This demo can help you to implement it: https://www.highcharts.com/demo/maps/map-drilldown

Let me know if you have any further questions!
Best regards!
Michał Filipiec
Highcharts Developer
https://blacklabel.pl/highcharts/

Return to “Highcharts Maps”