Replace tabs with spaces where appropriate.

This commit is contained in:
Marc Jansen
2012-09-11 21:51:18 +02:00
parent f7ca64b1aa
commit 1348f97546
6 changed files with 23 additions and 23 deletions

View File

@@ -22,12 +22,12 @@
*/ */
OpenLayers.Control.ModifyFeature = OpenLayers.Class(OpenLayers.Control, { OpenLayers.Control.ModifyFeature = OpenLayers.Class(OpenLayers.Control, {
/** /**
* APIProperty: documentDrag * APIProperty: documentDrag
* {Boolean} If set to true, dragging vertices will continue even if the * {Boolean} If set to true, dragging vertices will continue even if the
* mouse cursor leaves the map viewport. Default is false. * mouse cursor leaves the map viewport. Default is false.
*/ */
documentDrag: false, documentDrag: false,
/** /**
* APIProperty: geometryTypes * APIProperty: geometryTypes
@@ -252,7 +252,7 @@ OpenLayers.Control.ModifyFeature = OpenLayers.Class(OpenLayers.Control, {
// configure the drag control // configure the drag control
var dragOptions = { var dragOptions = {
documentDrag: this.documentDrag, documentDrag: this.documentDrag,
geometryTypes: ["OpenLayers.Geometry.Point"], geometryTypes: ["OpenLayers.Geometry.Point"],
onStart: function(feature, pixel) { onStart: function(feature, pixel) {
control.dragStart.apply(control, [feature, pixel]); control.dragStart.apply(control, [feature, pixel]);

View File

@@ -44,8 +44,8 @@ OpenLayers.Lang.es = {
"Para evitar este mensaje, seleccione una nueva Capa Base " + "Para evitar este mensaje, seleccione una nueva Capa Base " +
"en el selector de capas en la esquina superior derecha.<br><br>" + "en el selector de capas en la esquina superior derecha.<br><br>" +
"Probablemente, esto se debe a que el script de la biblioteca de " + "Probablemente, esto se debe a que el script de la biblioteca de " +
"Google Maps no fue correctamente incluido en su página, o no " + "Google Maps no fue correctamente incluido en su página, o no " +
"contiene la clave del API correcta para su sitio.<br><br>" + "contiene la clave del API correcta para su sitio.<br><br>" +
"Desarrolladores: Para ayudar a hacer funcionar esto correctamente, " + "Desarrolladores: Para ayudar a hacer funcionar esto correctamente, " +
"<a href='http://trac.openlayers.org/wiki/Google' " + "<a href='http://trac.openlayers.org/wiki/Google' " +
"target='_blank'>haga clic aquí</a>", "target='_blank'>haga clic aquí</a>",
@@ -55,7 +55,7 @@ OpenLayers.Lang.es = {
"Para evitar este mensaje, seleccione una nueva Capa Base " + "Para evitar este mensaje, seleccione una nueva Capa Base " +
"en el selector de capas en la esquina superior derecha.<br><br>" + "en el selector de capas en la esquina superior derecha.<br><br>" +
"Probablemente, esto se debe a que el script de " + "Probablemente, esto se debe a que el script de " +
"la biblioteca ${layerLib} " + "la biblioteca ${layerLib} " +
"no fue correctamente incluido en su página.<br><br>" + "no fue correctamente incluido en su página.<br><br>" +
"Desarrolladores: Para ayudar a hacer funcionar esto correctamente, " + "Desarrolladores: Para ayudar a hacer funcionar esto correctamente, " +
"<a href='http://trac.openlayers.org/wiki/${layerLib}' " + "<a href='http://trac.openlayers.org/wiki/${layerLib}' " +

View File

@@ -21,7 +21,7 @@ OpenLayers.Lang['lt'] = OpenLayers.Util.applyDefaults({
'noFID': "Negaliu atnaujinti objekto, kuris neturi FID.", 'noFID': "Negaliu atnaujinti objekto, kuris neturi FID.",
'browserNotSupported': 'browserNotSupported':
"Jūsų naršyklė nemoka parodyti vektorių. Šiuo metu galima naudotis tokiais rodymo varikliais:\n{renderers}", "Jūsų naršyklė nemoka parodyti vektorių. Šiuo metu galima naudotis tokiais rodymo varikliais:\n{renderers}",
'commitSuccess': "WFS Tranzakcija: PAVYKO ${response}", 'commitSuccess': "WFS Tranzakcija: PAVYKO ${response}",
@@ -38,8 +38,8 @@ OpenLayers.Lang['lt'] = OpenLayers.Util.applyDefaults({
// console message // console message
'methodDeprecated': 'methodDeprecated':
"Šis metodas yra pasenęs ir 3.0 versijoje bus pašalintas. " + "Šis metodas yra pasenęs ir 3.0 versijoje bus pašalintas. " +
"Prašome naudoti ${newMethod}.", "Prašome naudoti ${newMethod}.",
// **** end **** // **** end ****
'end': '' 'end': ''

View File

@@ -55,11 +55,11 @@ OpenLayers.Lang["pl"] = OpenLayers.Util.applyDefaults({
'getLayerWarning': 'getLayerWarning':
"Warstwa ${layerType} nie mogła zostać załadowana poprawnie.<br><br>" + "Warstwa ${layerType} nie mogła zostać załadowana poprawnie.<br><br>" +
"Aby pozbyć się tej wiadomości, wybierz nową Warstwe podstawową " + "Aby pozbyć się tej wiadomości, wybierz nową Warstwe podstawową " +
"w przełączniku warstw w górnym prawym rogu mapy.<br><br>" + "w przełączniku warstw w górnym prawym rogu mapy.<br><br>" +
"Najprawdopodobniej jest to spowodowane tym, że biblioteka ${layerLib} " + "Najprawdopodobniej jest to spowodowane tym, że biblioteka ${layerLib} " +
"nie jest załadowana, lub może(o ile biblioteka tego wymaga) " + "nie jest załadowana, lub może(o ile biblioteka tego wymaga) " +
"byc potrzebny klucza do API dla twojej strony<br><br>" + "byc potrzebny klucza do API dla twojej strony<br><br>" +
"Programisto: Aby uzyskać pomoc , " + "Programisto: Aby uzyskać pomoc , " +
"<a href='http://trac.openlayers.org/wiki/${layerLib}' " + "<a href='http://trac.openlayers.org/wiki/${layerLib}' " +
"target='_blank'>kliknij tutaj</a>", "target='_blank'>kliknij tutaj</a>",
@@ -78,8 +78,8 @@ OpenLayers.Lang["pl"] = OpenLayers.Util.applyDefaults({
"w warstwie ${layerName} używasz opcji 'reproject'. " + "w warstwie ${layerName} używasz opcji 'reproject'. " +
"Ta opcja jest przestarzała: " + "Ta opcja jest przestarzała: " +
"jej zastosowanie został zaprojektowany, aby wspierać wyświetlania danych przez komercyjne mapy, "+ "jej zastosowanie został zaprojektowany, aby wspierać wyświetlania danych przez komercyjne mapy, "+
"jednak obecnie ta funkcjonalność powinien zostać osiągnięty za pomocą Spherical Mercator " + "jednak obecnie ta funkcjonalność powinien zostać osiągnięty za pomocą Spherical Mercator " +
"its use was designed to support displaying data over commercial. Więcje informacji na ten temat możesz znaleźć na stronie " + "its use was designed to support displaying data over commercial. Więcje informacji na ten temat możesz znaleźć na stronie " +
"http://trac.openlayers.org/wiki/SphericalMercator.", "http://trac.openlayers.org/wiki/SphericalMercator.",
// console message // console message

View File

@@ -294,7 +294,7 @@ OpenLayers.Layer.MapGuide = OpenLayers.Class(OpenLayers.Layer.Grid, {
rowidx = Math.round(rowidx/this.tileSize.h); rowidx = Math.round(rowidx/this.tileSize.h);
if (this.useHttpTile){ if (this.useHttpTile){
url = this.getImageFilePath( url = this.getImageFilePath(
{ {
tilecol: colidx, tilecol: colidx,
tilerow: rowidx, tilerow: rowidx,

View File

@@ -1044,8 +1044,8 @@ OpenLayers.Util.extend(OpenLayers.INCHES_PER_UNIT, {
"ch": OpenLayers.INCHES_PER_UNIT["IntnlChain"], //International Chain "ch": OpenLayers.INCHES_PER_UNIT["IntnlChain"], //International Chain
"link": OpenLayers.INCHES_PER_UNIT["IntnlLink"], //International Link "link": OpenLayers.INCHES_PER_UNIT["IntnlLink"], //International Link
"us-in": OpenLayers.INCHES_PER_UNIT["inches"], //U.S. Surveyor's Inch "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-ft": OpenLayers.INCHES_PER_UNIT["Foot"], //U.S. Surveyor's Foot
"us-yd": OpenLayers.INCHES_PER_UNIT["Yard"], //U.S. Surveyor's Yard "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-ch": OpenLayers.INCHES_PER_UNIT["GunterChain"], //U.S. Surveyor's Chain
"us-mi": OpenLayers.INCHES_PER_UNIT["Mile"], //U.S. Surveyor's Statute Mile "us-mi": OpenLayers.INCHES_PER_UNIT["Mile"], //U.S. Surveyor's Statute Mile
"ind-yd": OpenLayers.INCHES_PER_UNIT["IndianYd37"], //Indian Yard "ind-yd": OpenLayers.INCHES_PER_UNIT["IndianYd37"], //Indian Yard
@@ -1534,7 +1534,7 @@ OpenLayers.Util.getRenderedDimensions = function(contentHTML, size, options) {
container.style.visibility = "hidden"; container.style.visibility = "hidden";
var containerElement = (options && options.containerElement) 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 // Opera and IE7 can't handle a node with position:aboslute if it inherits
// position:absolute from a parent. // position:absolute from a parent.
@@ -1711,7 +1711,7 @@ OpenLayers.Util.getFormattedLonLat = function(coordinate, axis, dmsOption) {
dmsOption = 'dms'; //default to show degree, minutes, seconds 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 abscoordinate = Math.abs(coordinate);
var coordinatedegrees = Math.floor(abscoordinate); var coordinatedegrees = Math.floor(abscoordinate);