package org.simantics.district.network.ui.nodes; import org.simantics.district.network.ModelledCRS; import org.simantics.scenegraph.g2d.nodes.RulerNode; public class MapRulerNode extends RulerNode { private static final long serialVersionUID = -7140072658133605907L; @Override protected double modifyHorizontalValue(double value) { return ModelledCRS.xToLongitude(value); } @Override protected double modifyVerticalValue(double value) { return ModelledCRS.yToLatitude(value); } @Override protected int getMaxDigits() { return 7; } }