org.eclipse.ui.ide,
org.eclipse.ui.workbench,
org.simantics.district.geotools;bundle-version="1.0.0",
- org.slf4j.api;bundle-version="1.7.25"
+ org.slf4j.api;bundle-version="1.7.25",
+ org.simantics.maps.elevation.server
Export-Package: org.simantics.maps,
org.simantics.maps.debug,
org.simantics.maps.eclipse,
import org.simantics.g2d.participant.MouseUtil;
import org.simantics.g2d.participant.MouseUtil.MouseInfo;
-import org.simantics.maps.MapScalingTransform;
+import org.simantics.maps.elevation.server.SingletonTiffTileInterface;
import org.simantics.scenegraph.g2d.G2DNode;
import org.simantics.scenegraph.utils.DPIUtil;
if (bounds == null)
return; // FIXME
- int zoomLevel = MapScalingTransform.zoomLevel(ot);
MouseInfo mouseInfo = util.getMouseInfo(0);
double startLat;
startLat = 0;
startLon = 0;
}
-
+ Number zoomLevel = SingletonTiffTileInterface.lookup(startLat, startLon);
String str = "X: " + formatValue(startLon, MAX_DIGITS) + ", Y: " + formatValue(startLat, MAX_DIGITS) + ", Z: " + zoomLevel;
g2d.setFont(rulerFont);
FontMetrics fm = g2d.getFontMetrics();