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; }