-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implement adding a waypoint to building and unit map markers
- Loading branch information
Showing
18 changed files
with
602 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 8 additions & 1 deletion
9
app/src/main/java/name/lmj0011/courierlocker/database/Building.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,11 @@ | ||
package name.lmj0011.courierlocker.database | ||
|
||
|
||
data class Building(val number: String, val latitude: Double, val longitude: Double) | ||
data class Building( | ||
var number: String = "", | ||
var latitude: Double = 0.0, | ||
var longitude: Double = 0.0, | ||
var hasWaypoint: Boolean = false, | ||
var waypointLatitude: Double = 0.0, | ||
var waypointLongitude: Double = 0.0 | ||
) |
10 changes: 9 additions & 1 deletion
10
app/src/main/java/name/lmj0011/courierlocker/database/BuildingUnit.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,12 @@ | ||
package name.lmj0011.courierlocker.database | ||
|
||
|
||
data class BuildingUnit(var number: String, var floorNumber: String, val latitude: Double, val longitude: Double) | ||
data class BuildingUnit( | ||
var number: String = "", | ||
var floorNumber: String = "", | ||
val latitude: Double = 0.0, | ||
val longitude: Double = 0.0, | ||
var hasWaypoint: Boolean = false, | ||
var waypointLatitude: Double = 0.0, | ||
var waypointLongitude: Double = 0.0 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.