h
This commit is contained in:
+1
-1
@@ -126,7 +126,7 @@ function changeMapBounds() {
|
||||
|
||||
function getBounds() {
|
||||
const extent = OLMap.getView().calculateExtent(OLMap.getSize())
|
||||
point = new OpenLayers.LonLat(extent[0],extent[1]).transform('EPSG:4326', 'EPSG:3857');
|
||||
point = new ol.LonLat(extent[0],extent[1]).transform('EPSG:4326', 'EPSG:3857');
|
||||
console.log(point)
|
||||
console.log(extent[2], extent[3])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user