Use OpenLayers.Projection.defaults values.
This commit is contained in:
@@ -38,9 +38,6 @@ function init() {
|
||||
map = new OpenLayers.Map('map', {
|
||||
projection: new OpenLayers.Projection("EPSG:900913"),
|
||||
displayProjection: new OpenLayers.Projection("EPSG:4326"),
|
||||
units: "m",
|
||||
maxResolution: 20037508.34 / 128,
|
||||
maxExtent: new OpenLayers.Bounds(-20037508, -20037508, 20037508, 20037508),
|
||||
restrictedExtent: extent,
|
||||
controls: [
|
||||
new OpenLayers.Control.PanZoom(),
|
||||
|
||||
Reference in New Issue
Block a user