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, {
/**
/**
* APIProperty: documentDrag
* {Boolean} If set to true, dragging vertices will continue even if the
* mouse cursor leaves the map viewport. Default is false.
*/
documentDrag: false,
documentDrag: false,
/**
* APIProperty: geometryTypes
@@ -252,7 +252,7 @@ OpenLayers.Control.ModifyFeature = OpenLayers.Class(OpenLayers.Control, {
// configure the drag control
var dragOptions = {
documentDrag: this.documentDrag,
documentDrag: this.documentDrag,
geometryTypes: ["OpenLayers.Geometry.Point"],
onStart: function(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 " +
"en el selector de capas en la esquina superior derecha.<br><br>" +
"Probablemente, esto se debe a que el script de la biblioteca de " +
"Google Maps no fue correctamente incluido en su página, o no " +
"contiene la clave del API correcta para su sitio.<br><br>" +
"Google Maps no fue correctamente incluido en su página, o no " +
"contiene la clave del API correcta para su sitio.<br><br>" +
"Desarrolladores: Para ayudar a hacer funcionar esto correctamente, " +
"<a href='http://trac.openlayers.org/wiki/Google' " +
"target='_blank'>haga clic aquí</a>",
@@ -55,7 +55,7 @@ OpenLayers.Lang.es = {
"Para evitar este mensaje, seleccione una nueva Capa Base " +
"en el selector de capas en la esquina superior derecha.<br><br>" +
"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>" +
"Desarrolladores: Para ayudar a hacer funcionar esto correctamente, " +
"<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.",
'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}",
@@ -38,8 +38,8 @@ OpenLayers.Lang['lt'] = OpenLayers.Util.applyDefaults({
// console message
'methodDeprecated':
"Šis metodas yra pasenęs ir 3.0 versijoje bus pašalintas. " +
"Prašome naudoti ${newMethod}.",
"Šis metodas yra pasenęs ir 3.0 versijoje bus pašalintas. " +
"Prašome naudoti ${newMethod}.",
// **** end ****
'end': ''

View File

@@ -55,11 +55,11 @@ OpenLayers.Lang["pl"] = OpenLayers.Util.applyDefaults({
'getLayerWarning':
"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>" +
"Najprawdopodobniej jest to spowodowane tym, że biblioteka ${layerLib} " +
"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 , " +
"<a href='http://trac.openlayers.org/wiki/${layerLib}' " +
"target='_blank'>kliknij tutaj</a>",
@@ -78,8 +78,8 @@ OpenLayers.Lang["pl"] = OpenLayers.Util.applyDefaults({
"w warstwie ${layerName} używasz opcji 'reproject'. " +
"Ta opcja jest przestarzała: " +
"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 " +
"its use was designed to support displaying data over commercial. Więcje informacji na ten temat możesz znaleźć na stronie " +
"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 " +
"http://trac.openlayers.org/wiki/SphericalMercator.",
// console message

View File

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

View File

@@ -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.
@@ -1711,7 +1711,7 @@ OpenLayers.Util.getFormattedLonLat = function(coordinate, axis, 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);