Add numZoomLevels to the map.

This commit is contained in:
Tom Hughes 2008-04-19 14:00:11 +00:00
parent 66fcecab91
commit 97a4e25f90

View file

@ -17,8 +17,9 @@ function createMap(divName) {
new OpenLayers.Control.PanZoomBar(),
new OpenLayers.Control.ScaleLine()
],
units: "m",
maxResolution: 156543,
units: "m"
numZoomLevels: 20
});
var mapnik = new OpenLayers.Layer.OSM.Mapnik("Mapnik", {