Google Location Services & Weather Conditions for Mission Control#2592
Open
GenCodeInc wants to merge 7 commits intoiNavFlight:maintenance-9.xfrom
Open
Google Location Services & Weather Conditions for Mission Control#2592GenCodeInc wants to merge 7 commits intoiNavFlight:maintenance-9.xfrom
GenCodeInc wants to merge 7 commits intoiNavFlight:maintenance-9.xfrom
Conversation
added 4 commits
March 14, 2026 21:37
- Add geolocate control (crosshair button) to bottom-right of OL map - Calls Google Geolocation API directly using user-provided API key - Add Google API Key field to Application Options under GPS Options - Key stored locally via electron-store (never committed) - Auto-adjusts zoom based on accuracy (14/12/10) - Available in both connected and offline modes
Author
|
@b14ckyy can you see if this helps using wifi, I'm using the Google API, it should at least get to the same city. |
Collaborator
|
Cool, I will give it a shot when I have time. |
Author
No rush, if they add the api key they get weather too, wind speed and all for helping mission planning before heading to the field. If drone is attached and locked gps, it will use that over any of the api keys. Let me know if you have any issues with adding the api key. |
added 3 commits
March 15, 2026 13:41
|
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.



Adds Google API integration to Mission Control for map centering and weather conditions when no drone is connected.
Auto-center on load — Probes Google Geolocation API on tab open, centers map on approximate location with info banner
Dual-purpose center button — Centers on drone GPS when connected, falls back to Google API position when not
Conditions panel — New sidebar panel showing wind, gusts, temperature, humidity, UV, precipitation, visibility, cloud cover from Google Weather API. Color-coded wind/UV values.
Unit-aware — Respects app unit preference (imperial/metric) for all weather data
Auto-refresh on GPS lock — Weather re-fetches with precise drone coords when GPS fix acquired
Address lookup fix — Now asks "Move to this location?" with OK/Cancel instead of moving immediately
Options UI — API key input, Test button (validates both Geolocation + Weather APIs), Help popup with setup instructions
Add Google API Key Option

Get help and info on what it does

See info in mission control, moves to googles rough location and you can see the weather info on the left

Fix to address search, currently it will move to location even if you press the "x" this is now fixed and added a yes/no
