Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
prodige
ngpr-prodige-visualiseur
Commits
bea3e09c
Commit
bea3e09c
authored
Jun 29, 2021
by
Chef Projet Prodige
Browse files
fixes coords
parent
70740c11
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/modals/export-foncier-modal/export-foncier-modal.component.ts
View file @
bea3e09c
...
@@ -207,14 +207,6 @@ export class ExportFoncierModalComponent implements OnInit, OnDestroy {
...
@@ -207,14 +207,6 @@ export class ExportFoncierModalComponent implements OnInit, OnDestroy {
let
coords
=
feature
.
getGeometry
().
getCoordinates
();
let
coords
=
feature
.
getGeometry
().
getCoordinates
();
this
.
newContext
.
properties
.
bbox
=
feature
.
getGeometry
().
getExtent
();
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.newContext.properties.extension.maxBbox = feature.getGeometry().getExtent(); */
this
.
http
.
post
(
this
.
http
.
post
(
...
@@ -229,7 +221,7 @@ export class ExportFoncierModalComponent implements OnInit, OnDestroy {
...
@@ -229,7 +221,7 @@ export class ExportFoncierModalComponent implements OnInit, OnDestroy {
nom
:
this
.
exportForm
.
get
(
'
nom
'
).
value
,
nom
:
this
.
exportForm
.
get
(
'
nom
'
).
value
,
prenom
:
this
.
exportForm
.
get
(
'
prenom
'
).
value
,
prenom
:
this
.
exportForm
.
get
(
'
prenom
'
).
value
,
refcadast
:
this
.
lastFeatureAdded
.
properties
.
ref_cadast
,
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
,
surface
:
this
.
exportForm
.
get
(
'
surface
'
).
value
?
this
.
exportForm
.
get
(
'
surface
'
).
value
:
20
,
title
:
this
.
exportForm
.
get
(
'
titre
'
).
value
,
title
:
this
.
exportForm
.
get
(
'
titre
'
).
value
,
pagesize
:
this
.
exportForm
.
get
(
'
format
'
).
value
,
pagesize
:
this
.
exportForm
.
get
(
'
format
'
).
value
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment