This commit is contained in:
LAX18 Development
2021-07-26 22:01:12 -04:00
parent 125e1f4684
commit bad06bbbf9
+1 -1
View File
@@ -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])
}