FS#5658 - Center minimap to vehicle if game isn't paused

Attached to Project: OpenTTD
Opened by Milos (Milsa) - Thursday, 18 July 2013, 07:59 GMT
Last edited by andythenorth (andythenorth) - Saturday, 19 August 2017, 09:58 GMT
Type Feature Request
Category Interface
Status Closed
Assigned To No-one
Operating System All
Severity Low
Priority Normal
Reported Version Version?
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Please add shortcut to center vehicle on minimap. Double click on first icon in vehicle view has same efect but game must be paused.
This task depends upon

Closed by  andythenorth (andythenorth)
Saturday, 19 August 2017, 09:58 GMT
Reason for closing:  Won't implement
Additional comments about closing:  Improving interface is a current goal for OpenTTD, however this request is too niche to be implemented currently. An alternative option might be to have a button/hotkey to center the minimap on-demand always, but that would be scoped to main viewport location, not a vehicle.

Cleaning Flyspray as there are an overwhelming number of issues, which is inhibiting development, so closing this one. Thanks for the suggestion.
Comment by frosch (frosch) - Thursday, 18 July 2013, 16:25 GMT
If with "minimap" you mean the regular viewport, I believe you want the feature which you get by Ctrl+Clicking on the first icon in the vehicle view.
Comment by Milos (Milsa) - Thursday, 18 July 2013, 20:03 GMT
Look at the image. I mean this minimap.
Comment by Alberth (Alberth) - Friday, 19 July 2013, 11:10 GMT
Can you explain why you'd want that, and how centering the main view at it is not sufficient?

I do think that changing the semantics of a button based on state of a totally unrelated setting is a bad move, we'll get all kinds of bug reports like "button does not always work".
Comment by Milos (Milsa) - Friday, 19 July 2013, 11:34 GMT
Sometimes I need to find a vehicle on the minimap. Especially on large map (1024x1024). Zooming the map isn't the most comfortable.

I don't want change but adding functionality.

Now it works like this (first icon on vehicle's view):
Click - center vehicle in main view
Ctrl+Click - center vehicle in main view and follow it

Example of new functionality:
Shift+Click - center vehicle in main view and center in minimap if opened (not follow it)
Comment by dP (_dp_) - Saturday, 19 August 2017, 10:01 GMT
There are 2 options currently to find the vehicle on a minimap.
1. Stop the vehicle and double click, that will center minimap
2. Jump to vehicle location and reopen minimap, it will center on viewport.