Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autozoom disables Northing and 2D mode #1270

Closed
AchimStuy opened this issue Jul 28, 2024 · 2 comments
Closed

Autozoom disables Northing and 2D mode #1270

AchimStuy opened this issue Jul 28, 2024 · 2 comments

Comments

@AchimStuy
Copy link

AchimStuy commented Jul 28, 2024

First, thank you for creating such a great open source navi app!

I am using Navit on a Win CE car radio (from Zenec, if that matters). And I would like to have a traditional map view, meaning 2D and oriented north. orientation="0" and pitch="0" are working fine, as long as I don't enable autozoom_active. But as soon as I enable autozoom (either manually in the navit.xml or via OSD / menu config) I get the kind of first person view with some pitch and map oriented in driving direction. A similar issue is described in #1235.

Is that a bug or a feature? Can I somehow enable autozoom and keep 2D view and northing?

@freecycler
Copy link

I suspect it is as gefin said here:
#1235 (comment)

There are some automatic settings in navit.xml which overwrite your changes. You can use your own navit.xml to change this automatics.

you likely need to edit navit.xml. Search it for the line (only 1 instance roughly halfway through the file) containing "pitch=autozoom" to to see what makes these settings conditional on autozoom. I never did find out what the reason for that was, I am guessing some early user/dev wanted that setting and it ended up getting copied into production releases a long time ago and the reason forgotten (ie, a bug). I certainly consider this linkage to be an anti-feature.

Since I always turn northing off, I have not tried to adjust this line myself. By any chance are you setting follow to 0 ?

@AchimStuy
Copy link
Author

That makes sense. I deleted the line from the navit.xml and it's working now. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants