Modern Apps git

← Modern-Apps.git

maps: fix compile — restore remember import in MaPoisLayer; repair corrupted MATCH_RADIUS_M/HTTP-plumbing comments in GooglePoiDataSource

Commit
9684101ef5e91ab651b7107e654f455a5bc77381
Author
vayun-mathur <[email protected]>
When
2026-08-18 17:40 UTC (3 months ago)
Parents
e9731df

Diff

maps/src/main/java/com/vayunmathur/maps/data/google/GooglePoiDataSource.kt
diff --git a/maps/src/main/java/com/vayunmathur/maps/data/google/GooglePoiDataSource.kt b/maps/src/main/java/com/vayunmathur/maps/data/google/GooglePoiDataSource.ktindex 380d402dd7..6c7b573736 100644--- a/maps/src/main/java/com/vayunmathur/maps/data/google/GooglePoiDataSource.kt+++ b/maps/src/main/java/com/vayunmathur/maps/data/google/GooglePoiDataSource.kt@@ -57,8 +57,6 @@ object GooglePoiDataSource {         "Referer" to "https://www.google.com/maps/",     ) -    /** Match radius:-     /** Match radius: a scraped result must be within this of the OSM point to be      *  treated as the same place, else the enrichment is discarded (wrong match). */     private const val MATCH_RADIUS_M = 250.0@@ -102,8 +100,6 @@ object GooglePoiDataSource {             parsePlace(entry)         } -    // --- HTTP plumbing-     // --- HTTP plumbing ------------------------------------------------------      /**
maps/src/main/java/com/vayunmathur/maps/ui/MaPoisLayer.kt
diff --git a/maps/src/main/java/com/vayunmathur/maps/ui/MaPoisLayer.kt b/maps/src/main/java/com/vayunmathur/maps/ui/MaPoisLayer.ktindex 2aeb73f9f1..9664d7f004 100644--- a/maps/src/main/java/com/vayunmathur/maps/ui/MaPoisLayer.kt+++ b/maps/src/main/java/com/vayunmathur/maps/ui/MaPoisLayer.kt@@ -1,6 +1,7 @@ package com.vayunmathur.maps.ui  import androidx.compose.runtime.Composable+import androidx.compose.runtime.remember import androidx.compose.ui.geometry.Size import androidx.compose.ui.graphics.Canvas import androidx.compose.ui.graphics.Color