add 2 fixed resolutions to the Google layer. r=bartvde (closes #2429)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@10031 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
);
|
||||
var gsat = new OpenLayers.Layer.Google(
|
||||
"Google Satellite",
|
||||
{type: G_SATELLITE_MAP, numZoomLevels: 20}
|
||||
{type: G_SATELLITE_MAP, numZoomLevels: 22}
|
||||
);
|
||||
|
||||
|
||||
|
||||
@@ -30,9 +30,9 @@ OpenLayers.Layer.Google = OpenLayers.Class(
|
||||
|
||||
/**
|
||||
* Constant: MAX_ZOOM_LEVEL
|
||||
* {Integer} 19
|
||||
* {Integer} 21
|
||||
*/
|
||||
MAX_ZOOM_LEVEL: 19,
|
||||
MAX_ZOOM_LEVEL: 21,
|
||||
|
||||
/**
|
||||
* Constant: RESOLUTIONS
|
||||
@@ -59,7 +59,9 @@ OpenLayers.Layer.Google = OpenLayers.Class(
|
||||
0.00002145767211914062,
|
||||
0.00001072883605957031,
|
||||
0.00000536441802978515,
|
||||
0.00000268220901489257
|
||||
0.00000268220901489257,
|
||||
0.0000013411045074462891,
|
||||
0.00000067055225372314453
|
||||
],
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user