minor cleanups to zoom levels example
git-svn-id: http://svn.openlayers.org/trunk/openlayers@4295 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -17,17 +17,19 @@
|
|||||||
function init(){
|
function init(){
|
||||||
|
|
||||||
var options = {
|
var options = {
|
||||||
// resolutions: [1.40625,0.703125,0.3515625,0.17578125,0.087890625,0.0439453125,0.02197265625,0.010986328125,0.0054931640625,0.00274658203125,0.00137329101],
|
|
||||||
// scales: [50000000, 10000000],
|
// various ways of specifying similar things
|
||||||
// maxResolution: 0.17578125,
|
// resolutions: [1.40625,0.703125,0.3515625,0.17578125,0.087890625,0.0439453125,0.02197265625,0.010986328125,0.0054931640625,0.00274658203125,0.00137329101],
|
||||||
// minResolution: 0.0439453125,
|
// scales: [50000000, 10000000],
|
||||||
// maxScale: 10000000,
|
// maxResolution: 0.17578125,
|
||||||
// minScale: 50000000,
|
// minResolution: 0.0439453125,
|
||||||
|
// maxScale: 10000000,
|
||||||
|
// minScale: 50000000,
|
||||||
|
// numZoomLevels: 5,
|
||||||
minResolution: "auto",
|
minResolution: "auto",
|
||||||
minExtent: new OpenLayers.Bounds(-1, -1, 1, 1),
|
minExtent: new OpenLayers.Bounds(-1, -1, 1, 1),
|
||||||
maxResolution: "auto",
|
maxResolution: "auto",
|
||||||
maxExtent: new OpenLayers.Bounds(-180, -90, 90, 180),
|
maxExtent: new OpenLayers.Bounds(-180, -90, 180, 90),
|
||||||
// numZoomLevels: 5,
|
|
||||||
controls: [new OpenLayers.Control.MouseDefaults()]
|
controls: [new OpenLayers.Control.MouseDefaults()]
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user