Add geo‑tagged image overlay pipeline (Maps thumbnail, metadata burn, gallery save) - #21
Merged
krishna3554 merged 1 commit intoMay 14, 2026
Conversation
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.
Motivation
Description
GeoPhotoModelandLocationServicethat perform high-accuracy GPS lookup, reverse geocoding, and robust error handling for GPS disabled, permission denied/deniedForever, timeouts, and other failures.GoogleMapServiceto build and download Google Static Maps thumbnails (usesgoogle_static_maps_controller+http) with a graceful fallback when no API key or network is available, and added Androidstrings.xml/Manifest wiring for the Maps API key placeholder.ImageOverlayService(using theimagepackage) plusImageUtilsto composite a dark rounded metadata card, embedded map thumbnail, address, lat/long, date/time, metric placeholders, and an app watermark directly into the photo pixels and write a final JPG to temp storage.GalleryService(usesimage_gallery_saver_plus), updated result flow inResultScreento generate the geo-tagged image, save it, display a processing UI and a saved banner, and return the saved gallery path; added on-screen preview widgetsGeoInfoOverlayandMapPreviewWidgetand minimal changes to existing camera flow to trigger location resolution after capture.LocationInfomodel to include extended metadata (altitude, speed, heading, place fields) and updatedpubspec.yamlto include required packages plus Android manifest changes for Maps API key placeholder.Testing
git diff --checkto ensure no whitespace/merge issues and code changes were staged (succeeded in repo environment).flutter pub getandflutter analyzein the container but both could not run because Flutter is not installed in this environment (flutter: command not found).flutter pub get, then test on an Android device/emulator with a valid Maps API key (set viaandroid/app/src/main/res/values/strings.xmlor--dart-define=GOOGLE_MAPS_API_KEY) to validate end-to-end behavior.Codex Task