Jump to content
AVIC411.com

Route timeline


Recommended Posts

Does anyone know how to pull up just the route timeline on a screen? This is the line that shows when you are in the route menu/Route information screen. It's a line with the freeway symbols going through it and is active when in a route with an arrow going across it. I found the items that represent it in the route_800-480 file but when I pulled them up everything was 0 and the bar was not present (which I assume is related). I want to pull this bar into another screen in an existing layer but cant seem to get it to work. Any ideas?

Link to post
Share on other sites

I wanted to find this out too. On the Gurjon Speedomter extension, the only other iconmodel that I see is the


 

But this doesn't seem right from the name of it...plus the x/y coordinates are off for where it was on the screen.

 

Wonder if it's not using an iconmodel to draw that? Anybody have any suggestions...?

 

(elegant bump I suppose...:D...)

 

EDIT:

Maybe something to do w/ this in the script: ui_Route.y d_slrouteDS_y - moving the ui_Route to the y coordinate to be seen??

 

I'll play around w/ it a little too...

Link to post
Share on other sites

Alright - this is how you get it to show up.

 

In the state area (say speedometer.ini in the common folder) or wherever you are putting it.

 

You need this line in the uselayer section:


 

Then you need to have the init script put it where you want it:


 

the ui_Route.y moves it to a variable position - the variable being d_slrouteDS_y. The last thing that needs to be done is in the 800_480 file - need to define where the y location is for that variable.

 

So - in my example the Speedomter_800_480.ui has:


 

Which places the bar at the y location of 352.

 

Worked pretty well for me. the ported speedometer extension now has the route bar on it..

 

Here are the two complete files so far - need A LOT of work:






























;--visota






;-- Tekuschaja ulica









;-- skrosti	








;--Znak zapretnyx povorotov

;

;-- Ukazateli povorotov--
;-- "Pvoroti" button 


;AK	;-- blizaisij pavorot







;-- vijezd iz kolca



;-- Compass	
























;--gurjon Speed kamera 

;-- Speedcam add




;-- gurjon znaciok kamery --

;




;-- gurjon distancija / sredniaja skorast --















;-- gurjon knopka vykliucenija zvuka kamery --


;--cifry


;--Time to turn 








;-- gurjon knopka perekliuchateli waipoint --




;--gurjon -- flazki






;--gurjon Adress navigaciji
;;	







;--gurjon -- vremia pribitija v cel 






;--gurjon -- rastojanie do celi















;-- speed limit












;-- proidenoe rastojanie






;-- AVG speed










;-- "Trip" button 




;-- "Previous State" button 


;;

Link to post
Share on other sites

Hi Ben-

 

Thanks again for the reply! I just want to clarity. You said in the common folder put the first bit of code in the speedometer.ini file. That file is in the 800_480 folder so I think you meant the speedometer.ui file in the common/ui folder. I got it working thanks to you! Nice work Ben!

 

file.php?mode=view&id=8078

post-26802-12872758907077_thumb.jpg

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...