Map size in reports

benoit 2 years ago

Hello everyone,
When I open a trip report, I can view each trip on a map just above the list. But the map is small on my screen compared to the list and I can't increase the map area and reduce the list (2/3 of the screen for the list, 1/3 for the map). Would it be possible to increase the map size or just be able to resize it? Otherwise, is it possible to change it somewhere in the code?

Thanks,
Benoit.

Anton Tananaev 2 years ago

Not configurable currently, but you can change it in the code.

benoit 2 years ago

Thank you Anton.
Wich part do I need to change? Do I have to recompile it afterr?

Benoit.

Anton Tananaev 2 years ago

You need to change the part where we display the trip report. Yes, you have to recompile.

benoit 2 years ago

Thank you, I'll do it. If the ration can be changed in a future release that will be nice (map a little bit bigger, or customized size via configuration file).
Congrats for the job you've done.
I have other several bugs but I will start a different post.

Anton Tananaev 2 years ago

Feature request and bug reports only on GitHub please, but make sure those are real bugs first.

Tom 13 days ago

I have exactly the same issue, vit for the mobile App as the browser version on PC..The map is tiny small but the selection menu takes about 2/3 of the screen with almost empty space. Would be great to change this, ideally to make it adjustable

Anton Tananaev 13 days ago

Have you read comments?

Tom 13 days ago

Yes - and I have beeing trying a lot to overcome this problem. 2/2 of the screen are an "empty space" while the most important thing - the map stays small and tiny. I read through forums and blogs, I tried to modify CSS but I am to humble to know how to modify the code and re-complile it.

My hope was this issue was solved during the last two years. So if anybody knows how to fix this, I would highly appreciate it.

Tom 8 days ago

Hello dear community, hello Anton, I am still struggling with this. Please help me to solve this, I would highly appreciate any support on this. Thank you!

Anton Tananaev 8 days ago

Sounds to me that you haven't really read the comments.

Tom 8 days ago

Pardon my stupidness but which comments are you talking about? Here on this page it's about changing the code and re-compiling the software. Sorry, but I am not a programmer, I cannot do this.

Are you referring to this? https://www.traccar.org/forums/topic/resizing-map-in-the-reportscombined/ but the instruction page: https://github.com/traccar/traccar-web/blob/master/modern/src/reports/common/useReportStyles.js#L10 leads to 404

Same here: https://www.traccar.org/forums/topic/traccar-46-on-windows/ -> same here

I cannot find anything here:
https://traccar.litvak.su/features/reports.html

Same here: https://www.traccar.org/forums/topic/reports-map-view-and-details/

So, obviously I am not the only one looking exactly for this. As all of the pages are rather old I was wondering if there is any update on this.

Anton Tananaev 7 days ago

Feature request and bug reports only on GitHub please...