sharvadze
Posts: 1
Joined: Tue Jul 27, 2021 9:59 am

Vue wrapper: can't add points and lines to worldmap

Hi, I'm using a Vue wrapper to visualize my maps, but unfortunately can't figure out how to add points and lines between countries. Here is my sandbox: https://codesandbox.io/s/highcharts-vue ... rked-jvfko

And this is the result I'd like to achieve: https://jsfiddle.net/BlackLabel/f9pzn3d4

Thanks for your help, any guidance is much appreciated
User avatar
sebastian.h
Posts: 1734
Joined: Fri Aug 07, 2020 7:08 am

Re: Vue wrapper: can't add points and lines to worldmap

Hi,
Welcome to our forum and thanks for contacting us with your question.

You have an error at the console, about missing library proj4, when you install them and comment joinBy, everything will be work.

https://github.com/proj4js/proj4js

Related issue describing how to load proj4 library to maps:
https://github.com/highcharts/highchart ... issues/160

Live demo of how to add mappoint at Vue:
https://codesandbox.io/s/highcharts-vue ... rked-dnlrc

Let me know if was what you are looking for.
Best regards.
Sebastian Hajdus
Highcharts Developer

Return to “Highcharts Maps”