15 |
updateCrs(); |
updateCrs(); |
16 |
} |
} |
17 |
}; |
}; |
18 |
|
|
19 |
private final SelectableXMapPane mapPane; |
private final SelectableXMapPane mapPane; |
20 |
|
|
21 |
CrsLabel(SelectableXMapPane mapPane) { |
CrsLabel(SelectableXMapPane mapPane) { |
29 |
|
|
30 |
public void updateCrs() { |
public void updateCrs() { |
31 |
try { |
try { |
32 |
setText(mapPane.getMapContext().getCoordinateReferenceSystem() |
setText("CRS:" |
33 |
.getName().toString()); |
+ mapPane.getMapContext().getCoordinateReferenceSystem() |
34 |
|
.getName().toString()); |
35 |
} catch (Exception e) { |
} catch (Exception e) { |
36 |
setText(""); |
setText("CRS:" + "NONE"); |
37 |
} |
} |
38 |
} |
} |
39 |
|
|