Opened 14 years ago

Closed 8 years ago

#347 closed enhancement/feature request (fixed)

current street when routing is not active

Reported by: Mithrandir Owned by: Singesang
Priority: major Milestone:
Component: osd/core Version: git master
Severity: normal Keywords:


OSD should display the current street also when routing is not active. navigation.item.street_name only seems to contain the current street name when routing is active.

Attachments (1)

t347.png (156.4 KB) - added by kazer 8 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 13 years ago by kazer

  • Resolution set to fixed
  • Status changed from new to closed
<osd enabled="yes" type="text" label="${navigation.item.street_name} ${navigation.item[1].street_name_systematic}"
        x="0" y="-55" w="480" h="30" align="0" background_color="#000000cc" font_size="250" />

should fit your need

comment:2 Changed 8 years ago by tylla

  • Resolution fixed deleted
  • Severity set to normal
  • Status changed from closed to reopened

I think this issue should be re-opened as the suggestion doesn't work. As the original reporter already noted navigation.item.street_name only contains something if routing is active, otherwise it's empty. If navigation is aborted, the last item remains in this variable, but it doesn't get updated.

comment:3 Changed 8 years ago by jandegr

I think these :

label="${tracking.item.street_name} ${tracking.item.street_name_systematic}"

answer the question

Changed 8 years ago by kazer

comment:4 Changed 8 years ago by kazer

Looks like we still have the issue :

<osd x="40" y="0" w="500" h="40" align="0" type="text" label="${tracking.item.street_name} ${tracking.item.street_name_systematic}" font_size="300" background_color="#00000080" osd_configuration="12"/>

I'll have to verify in the car.

comment:5 Changed 8 years ago by kazer

  • Resolution set to fixed
  • Status changed from reopened to closed

I tried in the car, and actually our documentation is right :)

"The difference to navigation is that tracking data is also available when not routing. Ensure that tracking="1" is set in the <navit> tag to use these attributes."

Note: See TracTickets for help on using tickets.