Skip to content

Commit 06d3094

Browse files
committed
debug log for new location
as suggested in streetcomplete#6001 (comment)
1 parent bc70db8 commit 06d3094

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/src/main/java/de/westnordost/streetcomplete/screens/main/map/MainMapFragment.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ import org.maplibre.android.maps.Style
5555
import org.maplibre.android.style.layers.Property
5656
import org.maplibre.android.style.layers.PropertyFactory.visibility
5757
import kotlin.math.PI
58+
import de.westnordost.streetcomplete.util.logs.Log
5859

5960
/** This is the map shown in the main view. It manages a map that shows the quest pins, quest
6061
* geometry, overlays, tracks, location... */
@@ -346,6 +347,7 @@ class MainMapFragment : MapFragment(), ShowsGeometryMarkers {
346347
}
347348

348349
private fun onLocationChanged(location: Location) {
350+
Log.e("LOCATION", "Got a new Location!")
349351
displayedLocation = location
350352
recentLocationStore.add(location)
351353
locationMapComponent?.targetLocation = location

0 commit comments

Comments
 (0)