master #14

Merged
m.lettere merged 15 commits from master into prod 2024-06-04 18:54:59 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit ec93d76998 - Show all commits

View File

@ -915,7 +915,7 @@ class CCPGeoInputWidgetController extends CCPBaseInputWidgetController {
}
const result = features.map(f=>{
const geom = f.getGeometry().getType() === "Circle" ? ol.geom.Polygon.fromCircle(f.getGeometry(), 50) : f.getGeometry()
const tgeom = geom.transform(this.#map.getView().getProjection(), new ol.proj.Projection("EPSG:4326"))
const tgeom = geom.transform(this.#map.getView().getProjection(), new ol.proj.Projection({code: "EPSG:4326"}))
return format.writeGeometry(tgeom)
}).join("\n")