Skip to content

Commit

Permalink
debug log for new location
Browse files Browse the repository at this point in the history
  • Loading branch information
mnalis committed Nov 19, 2024
1 parent bc70db8 commit 06d3094
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ import org.maplibre.android.maps.Style
import org.maplibre.android.style.layers.Property
import org.maplibre.android.style.layers.PropertyFactory.visibility
import kotlin.math.PI
import de.westnordost.streetcomplete.util.logs.Log

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

private fun onLocationChanged(location: Location) {
Log.e("LOCATION", "Got a new Location!")
displayedLocation = location
recentLocationStore.add(location)
locationMapComponent?.targetLocation = location
Expand Down

0 comments on commit 06d3094

Please sign in to comment.