Set the displayProjection on the map.
This commit is contained in:
parent
63c2d9a529
commit
0b8449d2c9
1 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,8 @@ function createMap(divName, options) {
|
|||
],
|
||||
units: "m",
|
||||
maxResolution: 156543.0339,
|
||||
numZoomLevels: 20
|
||||
numZoomLevels: 20,
|
||||
displayProjection: new OpenLayers.Projection("EPSG:4326")
|
||||
});
|
||||
|
||||
var mapnik = new OpenLayers.Layer.OSM.Mapnik("Mapnik", {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue