Commit bea3e09c authored by Chef Projet Prodige's avatar Chef Projet Prodige
Browse files

fixes coords

parent 70740c11
......@@ -207,14 +207,6 @@ export class ExportFoncierModalComponent implements OnInit, OnDestroy {
let coords = feature.getGeometry().getCoordinates();
this.newContext.properties.bbox = feature.getGeometry().getExtent();
this.newContext.properties.extension.layers.layers.forEach(layer => {
if (layer.extension.name === 'SCAN50_2012') {
layer.extension.maxscaledenominator = null;
layer.extension.minscaledenominator = null;
layer.extension.baseLayer = true;
layer.extension.zindex = 9999;
}
});
/* this.newContext.properties.extension.maxBbox = feature.getGeometry().getExtent(); */
this.http.post(
......@@ -229,7 +221,7 @@ export class ExportFoncierModalComponent implements OnInit, OnDestroy {
nom: this.exportForm.get('nom').value,
prenom: this.exportForm.get('prenom').value,
refcadast: this.lastFeatureAdded.properties.ref_cadast,
coord: coords[0][0],
coord: coords[0],
surface: this.exportForm.get('surface').value ? this.exportForm.get('surface').value : 20,
title: this.exportForm.get('titre').value,
pagesize: this.exportForm.get('format').value,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment