coding standards -- lines longer than 79 characters. splay these out -- makes them more readable. all tests pass FF & ie6

git-svn-id: http://svn.openlayers.org/trunk/openlayers@4010 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
euzuro
2007-08-24 11:03:58 +00:00
parent 8ffc1a72fc
commit fb7466b1c2
4 changed files with 77 additions and 4 deletions

View File

@@ -33,7 +33,28 @@ OpenLayers.Layer.Google = OpenLayers.Class(OpenLayers.Layer.EventPane,
* {Array(Float)} Hardcode these resolutions so that they are more closely * {Array(Float)} Hardcode these resolutions so that they are more closely
* tied with the standard wms projection * tied with the standard wms projection
*/ */
RESOLUTIONS: [1.40625,0.703125,0.3515625,0.17578125,0.087890625,0.0439453125,0.02197265625,0.010986328125,0.0054931640625,0.00274658203125,0.001373291015625,0.0006866455078125,0.00034332275390625,0.000171661376953125,0.0000858306884765625,0.00004291534423828125,.00002145767211914062,.00001072883605957031,.00000536441802978515,.00000268220901489257], RESOLUTIONS: [
1.40625,
0.703125,
0.3515625,
0.17578125,
0.087890625,
0.0439453125,
0.02197265625,
0.010986328125,
0.0054931640625,
0.00274658203125,
0.001373291015625,
0.0006866455078125,
0.00034332275390625,
0.000171661376953125,
0.0000858306884765625,
0.00004291534423828125,
0.00002145767211914062,
0.00001072883605957031,
0.00000536441802978515,
0.00000268220901489257
],
/** /**
* APIProperty: type * APIProperty: type

View File

@@ -32,7 +32,25 @@ OpenLayers.Layer.MultiMap = OpenLayers.Class(
* {Array(Float)} Hardcode these resolutions so that they are more closely * {Array(Float)} Hardcode these resolutions so that they are more closely
* tied with the standard wms projection * tied with the standard wms projection
*/ */
RESOLUTIONS: [9, 1.40625,0.703125,0.3515625,0.17578125,0.087890625,0.0439453125,0.02197265625,0.010986328125,0.0054931640625,0.00274658203125,0.001373291015625,0.0006866455078125,0.00034332275390625,0.000171661376953125,0.0000858306884765625,0.00004291534423828125], RESOLUTIONS: [
9,
1.40625,
0.703125,
0.3515625,
0.17578125,
0.087890625,
0.0439453125,
0.02197265625,
0.010986328125,
0.0054931640625,
0.00274658203125,
0.001373291015625,
0.0006866455078125,
0.00034332275390625,
0.000171661376953125,
0.0000858306884765625,
0.00004291534423828125
],
/** /**
* APIProperty: type * APIProperty: type

View File

@@ -33,7 +33,24 @@ OpenLayers.Layer.VirtualEarth = OpenLayers.Class(
* {Array(Float)} Hardcode these resolutions so that they are more closely * {Array(Float)} Hardcode these resolutions so that they are more closely
* tied with the standard wms projection * tied with the standard wms projection
*/ */
RESOLUTIONS: [1.40625,0.703125,0.3515625,0.17578125,0.087890625,0.0439453125,0.02197265625,0.010986328125,0.0054931640625,0.00274658203125,0.001373291015625,0.0006866455078125,0.00034332275390625,0.000171661376953125,0.0000858306884765625,0.00004291534423828125], RESOLUTIONS: [
1.40625,
0.703125,
0.3515625,
0.17578125,
0.087890625,
0.0439453125,
0.02197265625,
0.010986328125,
0.0054931640625,
0.00274658203125,
0.001373291015625,
0.0006866455078125,
0.00034332275390625,
0.000171661376953125,
0.0000858306884765625,
0.00004291534423828125
],
/** /**
* APIProperty: type * APIProperty: type

View File

@@ -33,7 +33,24 @@ OpenLayers.Layer.Yahoo = OpenLayers.Class(
* {Array(Float)} Hardcode these resolutions so that they are more closely * {Array(Float)} Hardcode these resolutions so that they are more closely
* tied with the standard wms projection * tied with the standard wms projection
*/ */
RESOLUTIONS: [1.40625,0.703125,0.3515625,0.17578125,0.087890625,0.0439453125,0.02197265625,0.010986328125,0.0054931640625,0.00274658203125,0.001373291015625,0.0006866455078125,0.00034332275390625,0.000171661376953125,0.0000858306884765625,0.00004291534423828125], RESOLUTIONS: [
1.40625,
0.703125,
0.3515625,
0.17578125,
0.087890625,
0.0439453125,
0.02197265625,
0.010986328125,
0.0054931640625,
0.00274658203125,
0.001373291015625,
0.0006866455078125,
0.00034332275390625,
0.000171661376953125,
0.0000858306884765625,
0.00004291534423828125
],
/** /**
* APIProperty: type * APIProperty: type