Replace tabs with spaces where appropriate.
This commit is contained in:
@@ -1044,8 +1044,8 @@ OpenLayers.Util.extend(OpenLayers.INCHES_PER_UNIT, {
|
||||
"ch": OpenLayers.INCHES_PER_UNIT["IntnlChain"], //International Chain
|
||||
"link": OpenLayers.INCHES_PER_UNIT["IntnlLink"], //International Link
|
||||
"us-in": OpenLayers.INCHES_PER_UNIT["inches"], //U.S. Surveyor's Inch
|
||||
"us-ft": OpenLayers.INCHES_PER_UNIT["Foot"], //U.S. Surveyor's Foot
|
||||
"us-yd": OpenLayers.INCHES_PER_UNIT["Yard"], //U.S. Surveyor's Yard
|
||||
"us-ft": OpenLayers.INCHES_PER_UNIT["Foot"], //U.S. Surveyor's Foot
|
||||
"us-yd": OpenLayers.INCHES_PER_UNIT["Yard"], //U.S. Surveyor's Yard
|
||||
"us-ch": OpenLayers.INCHES_PER_UNIT["GunterChain"], //U.S. Surveyor's Chain
|
||||
"us-mi": OpenLayers.INCHES_PER_UNIT["Mile"], //U.S. Surveyor's Statute Mile
|
||||
"ind-yd": OpenLayers.INCHES_PER_UNIT["IndianYd37"], //Indian Yard
|
||||
@@ -1534,7 +1534,7 @@ OpenLayers.Util.getRenderedDimensions = function(contentHTML, size, options) {
|
||||
container.style.visibility = "hidden";
|
||||
|
||||
var containerElement = (options && options.containerElement)
|
||||
? options.containerElement : document.body;
|
||||
? options.containerElement : document.body;
|
||||
|
||||
// Opera and IE7 can't handle a node with position:aboslute if it inherits
|
||||
// position:absolute from a parent.
|
||||
@@ -1710,9 +1710,9 @@ OpenLayers.Util.getFormattedLonLat = function(coordinate, axis, dmsOption) {
|
||||
if (!dmsOption) {
|
||||
dmsOption = 'dms'; //default to show degree, minutes, seconds
|
||||
}
|
||||
|
||||
coordinate = (coordinate+540)%360 - 180; // normalize for sphere being round
|
||||
|
||||
|
||||
coordinate = (coordinate+540)%360 - 180; // normalize for sphere being round
|
||||
|
||||
var abscoordinate = Math.abs(coordinate);
|
||||
var coordinatedegrees = Math.floor(abscoordinate);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user