- vectors = new OpenLayers.Layer.Vector("Vectors", {
- displayInLayerSwitcher: false,
- numZoomLevels: numZoomLevels,
- maxExtent: new OpenLayers.Bounds(-20037508,-20037508,20037508,20037508),
- maxResolution: 156543,
- units: "m",
- projection: "EPSG:900913"
- });
- map.addLayer(vectors);
-
-