From 5d51e3f740690f20d998116b45178b3a62cfb307 Mon Sep 17 00:00:00 2001 From: "francesco.mangiacrapa" Date: Fri, 21 Oct 2022 16:26:13 +0200 Subject: [PATCH] Updated Centroid coordinate as Double --- .../shared/geoportal/view/ProjectView.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/org/gcube/application/geoportalcommon/shared/geoportal/view/ProjectView.java b/src/main/java/org/gcube/application/geoportalcommon/shared/geoportal/view/ProjectView.java index 3546e0d..d779961 100644 --- a/src/main/java/org/gcube/application/geoportalcommon/shared/geoportal/view/ProjectView.java +++ b/src/main/java/org/gcube/application/geoportalcommon/shared/geoportal/view/ProjectView.java @@ -16,8 +16,8 @@ public class ProjectView implements Serializable { // The DocumentDV (contained in the ProjectDV) is listed in SectionView private List listSections = new ArrayList(); - private Long centroidLong; - private Long centroidLat; + private Double centroidLong; + private Double centroidLat; public ProjectView() { @@ -39,19 +39,19 @@ public class ProjectView implements Serializable { this.theProjectDV = theProjectDV; } - public void setCentroidLat(Long centroidLat) { + public void setCentroidLat(Double centroidLat) { this.centroidLat = centroidLat; } - public void setCentroidLong(Long centroidLong) { + public void setCentroidLong(Double centroidLong) { this.centroidLong = centroidLong; } - public Long getCentroidLat() { + public Double getCentroidLat() { return centroidLat; } - public Long getCentroidLong() { + public Double getCentroidLong() { return centroidLong; }