ground-android icon indicating copy to clipboard operation
ground-android copied to clipboard

Refactor: Single LocationOfInterestModel

Open scolsen opened this issue 3 years ago • 0 comments

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.

scolsen avatar Aug 08 '22 18:08 scolsen