gopro-dashboard-overlay icon indicating copy to clipboard operation
gopro-dashboard-overlay copied to clipboard

wrong size or aspect ratio in circuit_map and cairo_circuit_map

Open victorlysak opened this issue 6 months ago • 0 comments

Hi.

I'm using gpx only and I use circuit_map because I need only path without anything else.

While testing the maps, I found that the aspect ratios or maybe sizing in general are wrong for circuit_map and cairo_circuit_map, but are correct for journey_map.

On the pic below, on the right, we have the route in Google Earth Pro imported from the same .gpx file as the gopro-dashboard-overlay uses.

On the left we have: red line - journey_map - correct size/aspect ration (as in google) yellow line - cairo_circuit_map - wrong aspect ratio black line (90 off normal) - circuit_map - also wrong aspect (as you see).

Where in your code shall I look to correct these?

Here is the layout file:

<layout>
   <component type="circuit_map" size="1000" fill="0,0,0" outline_width="0" fill_width="4" />
   <component type="journey_map" size="1000" corner_radius="10" opacity="0.6" />
   <component type="cairo_circuit_map" size="1000" fill="255,255,0" outline="255,0,255" line-width="0.01" loc-size="0.01" rotate="-90" />
</layout>

thank you git-wrong-aspect

victorlysak avatar Aug 11 '24 21:08 victorlysak