ground-android
ground-android copied to clipboard
Refactor: Single LocationOfInterestModel
This commit simplifies and updates our model for locations of interest:
- We retain only a single LocationOfInterest data class that accepts a geometry in its constructor.
- The Builder for this class has been removed.
- We now return the type of the LocationOfInterest based on its geometry.
- The AreaOfInterest and PointOfInterest classes have been removed.
In addition, I've added some extensions for working with the Point model while it still exists, and I've converted FakeData to kotlin.