fix variable

This commit is contained in:
dcore94 2024-06-03 17:55:18 +02:00
parent c8116426b9
commit 5cad7c3d9a
1 changed files with 1 additions and 1 deletions

View File

@ -916,7 +916,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"))
return format.writeGeometry(geom)
return format.writeGeometry(tgeom)
}).join("\n")
this.#target.value = this.value[this.#index] = result