|Need a way to refresh screen
|Page 1 of 1|
|Author:||cedricp [ 04 Oct 2018, 15:51 ]|
|Post subject:||Need a way to refresh screen|
After the EGL graphic driver, I'm currently working on a plugin for NavIt that gets vehicle information from the CAN bus and display it on a layer. It's working fine, but I noticed that the screen refresh rate is quite slow (I guess it's based on GPS refresh rate, right?).
Would it be possible to send an event from the plugin (a part of it is in a separate thread) to force redraw ?
I tried to call the method navit_draw(..), it seems to work, but is it the right way ?
|Author:||Mapmapper [ 05 Oct 2018, 12:55 ]|
|Post subject:||Re: Need a way to refresh screen|
I think its based on navit.xml-Config-File
In the beginning of this file is s.th. like that:
<navit center="5239 N 1325 E" zoom="32" tracking="1" orientation="0" recent_dest="10" timeout="10">
timeout in seconds.
|Page 1 of 1||All times are UTC|
|Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group