diff --git a/app/src/main/java/com/example/cosmosclient/entities/AreaInformation.java b/app/src/main/java/com/example/cosmosclient/entities/AreaInformation.java index 9bd78c9..eec5a5d 100644 --- a/app/src/main/java/com/example/cosmosclient/entities/AreaInformation.java +++ b/app/src/main/java/com/example/cosmosclient/entities/AreaInformation.java @@ -5,8 +5,16 @@ import java.util.HashMap; public class AreaInformation { - public Location location = new Location(); - public HashMap> feature = new HashMap<>(); + private Location location = new Location(); + private HashMap> feature = new HashMap<>(); public Time lastUpdated; + public void setLocation(Location location){ + this.location = location; + } + public Location getLocation(){ + return this.location; + } + + }