Revision 9711
branches/v10/extensions/extGeoProcessing/src/com/iver/cit/gvsig/geoprocess/core/util/UnitUtils.java | ||
---|---|---|
45 | 45 |
* |
46 | 46 |
* $Id$ |
47 | 47 |
* $Log$ |
48 |
* Revision 1.3.2.3 2006-12-22 10:15:07 caballero |
|
48 |
* Revision 1.3.2.4 2007-01-12 13:25:53 caballero |
|
49 |
* unidades de mapa y medida |
|
50 |
* |
|
51 |
* Revision 1.3.2.3 2006/12/22 10:15:07 caballero |
|
49 | 52 |
* unidades de mapa y de medida |
50 | 53 |
* |
51 | 54 |
* Revision 1.3.2.2 2006/12/21 18:21:52 azabala |
... | ... | |
125 | 128 |
int mapUnits = ((View)PluginServices. |
126 | 129 |
getMDIManager(). |
127 | 130 |
getActiveWindow()).getMapControl().getViewPort().getMapUnits(); |
128 |
double distInInternalUnits = (userEntryDistance/MapContext.CHANGEM[distanceUnits]) * MapContext.CHANGEM[mapUnits];
|
|
131 |
double distInInternalUnits = (userEntryDistance/MapContext.CHANGEM[mapUnits]) * MapContext.CHANGEM[distanceUnits];
|
|
129 | 132 |
/* |
130 | 133 |
* if layer's projections is in geographics |
131 | 134 |
coords, pass distance to a angular measure |
Also available in: Unified diff