I want to show moving objects (vehicles) in a map (road network). I have done the model part in Java using graph theory (vertices + edges). Now what I want is to move a vehicle along a road. But I don't have a clear idea, what should I use to draw the map, and move objects on top of it?
My vehicle objects contain which vertex they are at that moment.
HTML5-SVG and canvas support to draw objects but I couldn't find a way to link Java beans with HTML5.
Can I do this using HTML5? If not what should I do?