mirror of
https://github.com/rt-bishop/Look4Sat.git
synced 2026-10-02 03:15:37 +00:00
Various changes to predict4kotlin classes
This commit is contained in:
1 parent
5460ed2a6c
commit
dc92bf1ab1
5 files changed
+118
-56
No files matched your search
+1
-1
@@ -154,7 +154,7 @@ class SatMapViewModel @Inject constructor(
|
||||
|
||||
private suspend fun setSelectedSatFootprint(sat: Satellite, gsp: StationPosition, date: Date) {
|
||||
withContext(defaultDispatcher) {
|
||||
val satFootprint = sat.getPosition(gsp, date).getRangeCircle().map { rangePos ->
|
||||
val satFootprint = sat.getPredictor(gsp).getRangeCircle(date).map { rangePos ->
|
||||
val osmLat = clipLat(rangePos.latitude)
|
||||
val osmLon = clipLon(rangePos.longitude)
|
||||
Position(osmLat, osmLon)
|
||||
|
||||
Reference in new issue
Block a user