Calculating maxResolution instead of having it in defaults.
This commit is contained in:
@@ -136,7 +136,8 @@
|
||||
layer: "world",
|
||||
style: "blue_marble",
|
||||
matrixSet: "arcgis_online",
|
||||
tileSize: new OpenLayers.Size(512, 512),
|
||||
tileSize: new OpenLayers.Size(512, 512),
|
||||
maxResolution: 1.40625,
|
||||
requestEncoding: "REST"
|
||||
});
|
||||
map.addLayer(layer1);
|
||||
@@ -156,7 +157,8 @@
|
||||
layer: "world",
|
||||
style: "blue_marble",
|
||||
matrixSet: "arcgis_online",
|
||||
tileSize: new OpenLayers.Size(512, 512),
|
||||
tileSize: new OpenLayers.Size(512, 512),
|
||||
maxResolution: 1.40625,
|
||||
requestEncoding: "REST"
|
||||
});
|
||||
map.addLayer(layer1);
|
||||
|
||||
Reference in New Issue
Block a user