project to EPSG:4326
This commit is contained in:
parent
5694938485
commit
c8116426b9
|
@ -915,6 +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"))
|
||||
return format.writeGeometry(geom)
|
||||
}).join("\n")
|
||||
|
||||
|
|
Loading…
Reference in New Issue