thepowersgang/cits3200 — Issue #10: RoadNetworkDisplay does not scale correctly for large maps.
Author: BrianMarshall
Created: 2011-10-16 09:18:21+00:00
State: open

It appears that when the map dimensions are larger than the display width/height the scaling breaks.

A quick look at the code suggests that this is the result of calculating the scaling factor thought integer division.

With integers. a/b=0 if b is greater than a.

The scaling may need to use floating-point numbers rather than integers.