- public void show(AltosState state, int crc_errors, Point2D.Double pt) {
- if (last_pt == null) {
- // setLocation(state.pad_lat, state.pad_lon);
- // loadMap();
- last_pt = pt;
- }
-
- if (pt != last_pt) {
- if (0 <= state.state && state.state < stateColors.length) {
- g2d.setColor(stateColors[state.state]);
- }
- g2d.draw(new Line2D.Double(last_pt, pt));
+ public void show(AltosState state, int crc_errors,
+ Point2D.Double last_pt, Point2D.Double pt)
+ {
+ if (0 <= state.state && state.state < stateColors.length) {
+ g2d.setColor(stateColors[state.state]);