Draft
Conversation
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
- Added Google Maps SDK dependencies - Added location permissions (ACCESS_FINE_LOCATION, ACCESS_COARSE_LOCATION) - Created MapCardView custom component with map, metric selector, legend, and reset - Added map reading storage with GPS coordinates to Prefs - Integrated map card into MainActivity dashboard - Map automatically tracks readings with GPS location - Dynamic legend shows min/max values with color gradient - Reset button clears map readings - Dark map theme matching app design Co-authored-by: darkmatter2222 <25397045+darkmatter2222@users.noreply.github.com>
Build environment limitation: Network access to dl.google.com is restricted in this environment, preventing Gradle from downloading Android build tools. The code is complete and ready for local build and testing. Testing instructions added for map feature validation. Co-authored-by: darkmatter2222 <25397045+darkmatter2222@users.noreply.github.com>
- Added detailed MAP_FEATURE.md documentation - Updated README with map feature in features list - Documented all components, data structures, and usage flow - Added testing checklist and known limitations - Listed future enhancement ideas Co-authored-by: darkmatter2222 <25397045+darkmatter2222@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add live map view to dashboard
Add live GPS-tracked radiation map to dashboard
Jan 17, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements interactive map visualization of radiation readings with GPS coordinates, allowing spatial analysis of dose/count rate data during mobile surveys.
Implementation
MapCardView - Custom view encapsulating Google Maps with radiation-specific overlays
Data Layer - Extended
Prefswith GPS-coordinate storageSerialized as:
timestamp,lat,lon,dose,cpssemicolon-separated in SharedPreferencesIntegration - MainActivity UI loop polls
FusedLocationProvideron each reading, stores MapReading atomically, updates map markersStyling - Dark map theme JSON (
map_style_dark.json) matches app palette (#1A1A1E backgrounds, #2A2A2E borders)Dependencies
play-services-maps:18.2.0play-services-location:21.1.0Requires
ACCESS_FINE_LOCATIONandACCESS_COARSE_LOCATIONpermissions. Includes development Maps API key (restrict for production).Layout
Map card inserted in dashboard between CPS chart and isotope panel. 300dp fixed height, full width, standard 12dp card padding.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
dl.google.com/usr/lib/jvm/temurin-17-jdk-amd64/bin/java /usr/lib/jvm/temurin-17-jdk-amd64/bin/java --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED -Xmx2g -Dfile.encoding=UTF-8 -Duser.country -Duser.language=en -Duser.variant -cp /home/REDACTED/.gradle/wrapper/dists/gradle-8.6-bin/afr5mpiioh2wthjmwnkmdsd5w/gradle-8.6/lib/gradle-launcher-8.6.jar -javaagent:/home/REDACTED/.gradle/wrapper/dists/gradle-8.6-bin/afr5mpiioh2wthjmwnkmdsd5w/gradle-8.6/lib/agents/gradle-instrumentation-agent-8.6.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 8.6(dns block)/usr/bin/curl curl -I REDACTED(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.