Use OpenLayers.Projection.defaults values.
This commit is contained in:
@@ -5,12 +5,7 @@ function init() {
|
||||
div: "map",
|
||||
theme: null,
|
||||
projection: new OpenLayers.Projection("EPSG:900913"),
|
||||
units: "m",
|
||||
numZoomLevels: 18,
|
||||
maxResolution: 156543.0339,
|
||||
maxExtent: new OpenLayers.Bounds(
|
||||
-20037508.34, -20037508.34, 20037508.34, 20037508.34
|
||||
),
|
||||
controls: [
|
||||
new OpenLayers.Control.TouchNavigation({
|
||||
dragPanOptions: {
|
||||
|
||||
Reference in New Issue
Block a user