diff --git a/lib/OpenLayers/Control/ModifyFeature.js b/lib/OpenLayers/Control/ModifyFeature.js index c5a4741fa0..a5fd6b79a6 100644 --- a/lib/OpenLayers/Control/ModifyFeature.js +++ b/lib/OpenLayers/Control/ModifyFeature.js @@ -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]); diff --git a/lib/OpenLayers/Lang/es.js b/lib/OpenLayers/Lang/es.js index 7d64367956..d8b77b6e80 100644 --- a/lib/OpenLayers/Lang/es.js +++ b/lib/OpenLayers/Lang/es.js @@ -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.

" + "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.

" + + "Google Maps no fue correctamente incluido en su página, o no " + + "contiene la clave del API correcta para su sitio.

" + "Desarrolladores: Para ayudar a hacer funcionar esto correctamente, " + "haga clic aquí", @@ -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.

" + "Probablemente, esto se debe a que el script de " + - "la biblioteca ${layerLib} " + + "la biblioteca ${layerLib} " + "no fue correctamente incluido en su página.

" + "Desarrolladores: Para ayudar a hacer funcionar esto correctamente, " + "
" + - "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.

" + "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

" + + "byc potrzebny klucza do API dla twojej strony

" + "Programisto: Aby uzyskać pomoc , " + "
kliknij tutaj", @@ -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 diff --git a/lib/OpenLayers/Layer/MapGuide.js b/lib/OpenLayers/Layer/MapGuide.js index ed688610e1..7bf95018ec 100644 --- a/lib/OpenLayers/Layer/MapGuide.js +++ b/lib/OpenLayers/Layer/MapGuide.js @@ -108,7 +108,7 @@ OpenLayers.Layer.MapGuide = OpenLayers.Class(OpenLayers.Layer.Grid, { tileRowsPerFolder: 30, format: 'png', querystring: null - }, + }, /** * Property: defaultSize @@ -294,13 +294,13 @@ 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, scaleindex: this.resolutions.length - this.map.zoom - 1 }); - + } else { url = this.getFullRequestString( { @@ -421,7 +421,7 @@ OpenLayers.Layer.MapGuide = OpenLayers.Class(OpenLayers.Layer.Grid, { tileColGroup += '0'; } else { tileColGroup += Math.floor(Math.abs(newParams.tilecol/this.params.tileColumnsPerFolder)) * this.params.tileColumnsPerFolder; - } + } var tilePath = '/S' + Math.floor(newParams.scaleindex) + '/' + this.params.basemaplayergroupname diff --git a/lib/OpenLayers/Util.js b/lib/OpenLayers/Util.js index 562ca489f6..e9140a2a33 100644 --- a/lib/OpenLayers/Util.js +++ b/lib/OpenLayers/Util.js @@ -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);