Revision 285

View differences:

trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/ViewPort.java
88 88
    }
89 89

  
90 90
    public double toMapDistance(int d) {
91
    	//TODO Implementar bien
92
    	return -1;
91
    	 double dist = d / trans.getScaleX(); 
92
         return dist;
93 93
    }
94 94

  
95 95
    public Point2D toMapPoint(Point2D pScreen) {

Also available in: Unified diff