garam.kim
Posts: 4
Joined: Tue Jan 26, 2021 4:54 am

Seoul Custom Map Wrong Proportions

Hello

I'm making a map of Seoul on the HIGHMAP.

Even if you render a map with the same GEOJSON,

D3 and HIGHMAP are output differently even if the map is rendered with the same GEOJSON.

Why does the map I made look different in proportion?


Here are the details.

https://www.notion.so/kimakuh/Questions ... 34a3ad952d
User avatar
sebastian.h
Posts: 1734
Joined: Fri Aug 07, 2020 7:08 am

Re: Seoul Custom Map Wrong Proportions

Hi,

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

I need to see your chart config, to know how it works.
Could you show me a simplified version of your case in the online code editor?

I'm waiting for news from you.
Best regards.
Sebastian Hajdus
Highcharts Developer
garam.kim
Posts: 4
Joined: Tue Jan 26, 2021 4:54 am

Re: Seoul Custom Map Wrong Proportions

Hi,

Thank you for your quick response.


Here's my example.

highmap

https://jsfiddle.net/kimgaram/c3svxz2k/16/


d3

https://jsfiddle.net/kimgaram/mocx9g41/1/
garam.kim
Posts: 4
Joined: Tue Jan 26, 2021 4:54 am

Re: Seoul Custom Map Wrong Proportions

garam.kim wrote: Tue Jan 26, 2021 10:16 am Hi,

Thank you for your quick response.


Here's my example.

highmap

https://jsfiddle.net/kimgaram/c3svxz2k/16/


d3

https://jsfiddle.net/kimgaram/mocx9g41/2/
User avatar
sebastian.h
Posts: 1734
Joined: Fri Aug 07, 2020 7:08 am

Re: Seoul Custom Map Wrong Proportions

Hi,

Thanks for the examples of your code.

The chart area is the area with added title height and legend.
Therefore, despite the fixed height and width, the map size is different.

Live demo:
https://jsfiddle.net/BlackLabel/yvem1baj/

Let me know if that was what you were looking for!
Best regards.
Sebastian Hajdus
Highcharts Developer
garam.kim
Posts: 4
Joined: Tue Jan 26, 2021 4:54 am

Re: Seoul Custom Map Wrong Proportions

Hi,

I think I asked the wrong question.

I meant that the map proportion was different.

I think it's a coordinate system problem.

https://github.com/riverkim-biz/geojson ... er/map.pdf
User avatar
sebastian.h
Posts: 1734
Joined: Fri Aug 07, 2020 7:08 am

Re: Seoul Custom Map Wrong Proportions

Hi,

Have you seen this similar topic from our forum?
viewtopic.php?f=14&t=43950

Other solution it will be creat custom maps and check how it works.

Here is the documentation:
https://www.highcharts.com/docs/maps/cu ... ojson-maps

Best regards.
Sebastian Hajdus
Highcharts Developer

Return to “Highcharts Maps”