ryaninmgm
Posts: 1
Joined: Wed Apr 08, 2020 3:54 pm

Morocco/Western Sahara border update

Hi,
I'm trying to figure out how to alter the Morocco/Western Sahara border in HighCharts. I know it's something of a disputed territory, but my employers have an opinion about such things, so i don't ask questions about that.

I've found a file containing the map data (hc-world-5.0.14.js), and i see what looks like a series of coordinates, but i'm not a cartographer, so i'm not entirely sure how to interpret those coordinates. Obviously they're X,Y pairs, but beyond that, I'm not sure what i'm looking at. Is the order significant? If so, what does the order represent?

Alternately, if anyone else has already done the work and doesn't mind a stranger mooching, if those coordinates are available, it would make my job that much easier.

Thanks!
mateuszkornecki
Posts: 1222
Joined: Mon Oct 28, 2019 10:29 am

Re: Morocco/Western Sahara border update

Hi,

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

We are using SVG files or geoJSON to generate a map, if you want to edit it I will recommend you to generate your own map. Most of our maps are available in SVG format, so you could just simply download it, edit the border and save as SVG again. Then you could use our special tool to generate the map data from that SVG file. You can read more about the whole process here: https://www.highcharts.com/docs/maps/cr ... r-highmaps

Let me know if you have any further questions!

Best regards.
Mateusz Kornecki
Highcharts Developer
aswathym
Posts: 1
Joined: Tue Nov 29, 2022 12:34 pm

Re: Morocco/Western Sahara border update

Actually I am new to this and I want a solution to this problem. Can anyone please provide steps to do this in detail. Or will highcharts provide a solution in future?

Thanks in advance.
michal.f
Posts: 1114
Joined: Thu Aug 12, 2021 12:04 pm

Re: Morocco/Western Sahara border update

Hello and welcome to our forum.

Everything is explained in the post above, there is also a link to the documentation on how to do this.
Or will highcharts provide a solution in future?
If you think that these boundaries are not correct, and you can justify it with some sources from the Internet, it is best that you report it on highcharts/map-collection-dist repository, describe it and it will be considered.
Repo: https://github.com/highcharts/map-colle ... ist/issues

In case of any further questions, feel free to ask.
Best regards!
Michał Filipiec
Highcharts Developer
https://blacklabel.pl/highcharts/

Return to “Highcharts Maps”