CSCI321 - Project Diary

Friday, September 1

map with new GIcons based on Speed

Well

On Wednesday night I said I would look at getting different GIcon's working based on different speeds...DONE.

I have only defined 2 new GIcon's at present, if you are going less then 80km/hr then you get a Green one, otherwise you get a red one (there might be a small bug, as 0 km/hr gets red too). We need to define some speed ranges, or allow the user to define them. I am thinking of just hardwiring it at present...maybe something like this
  • 0->40 = White
  • 40->60 = Green
  • 60->80 = Blue
  • 80->90 = Yellow
  • 90->110 =Orange
  • 110->120 = Red
  • 120->= Black
Anyway, off to get some sleep.

Shawn

0 Comments:

Post a Comment

<< Home