Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add satellite layer and show map on latlon values #3685

Merged
merged 13 commits into from Dec 23, 2023

Conversation

haslinghuis
Copy link
Member

@haslinghuis haslinghuis commented Dec 20, 2023

  • show gps map whenever we get lat lon values instead of waiting for gps fix
  • add satellite and hybrid layers.
  • satellite layer is default now
  • tag and help icon in image below is now removed as anyone should be familiar using maps.

ROAD:
image

SATELLITE:
image

HYBRID:
image

@haslinghuis haslinghuis self-assigned this Dec 20, 2023
@haslinghuis haslinghuis marked this pull request as draft December 20, 2023 22:42
@haslinghuis haslinghuis added this to the 10.10.0 milestone Dec 20, 2023

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

@ctzsnooze
Copy link
Member

This is really cool! Can't wait for it to be working properly!
At the moment I get the satellite map, and that's fantastic!
Only a couple of things to be fixed...

  • clicking the buttons doesn't update the map mode
  • zooming in on the Sat map appears to zoom in on the first image we get, so it gets a but blurry as I zoom in. The image itself isn't updated, I think, by the Maps API, when we zoom in.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

@haslinghuis haslinghuis marked this pull request as ready for review December 22, 2023 18:10

This comment has been minimized.

src/tabs/gps.html Outdated Show resolved Hide resolved
src/js/tabs/map.js Outdated Show resolved Hide resolved
@blckmn
Copy link
Member

blckmn commented Dec 22, 2023

AUTOMERGE: (FAIL)

  • github identifies PR as mergeable -> PASS
  • assigned to a milestone -> PASS
  • cooling off period lapsed -> PASS
  • commit count less or equal to three -> FAIL
  • Don't merge label NOT found -> PASS
  • at least one RN: label found -> PASS
  • Tested label found -> PASS
  • assigned to an approver -> PASS
  • approver count at least three -> FAIL

This comment has been minimized.

This comment has been minimized.

@ctzsnooze
Copy link
Member

This is absolutely fantastic! Great job @haslinghuis

Satellite image shows every detail and makes it really easy to see the amount of wandering around as the sat fix gets better over time.

This comment has been minimized.

Copy link

sonarcloud bot commented Dec 23, 2023

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Contributor

Do you want to test this code? Here you have an automated build:
Betaflight-Configurator-Android
Betaflight-Configurator-Linux
Betaflight-Configurator-macOS
Betaflight-Configurator-Windows
WARNING: It may be unstable and result in corrupted configurations or data loss. Use only for testing!

@haslinghuis haslinghuis merged commit fb8b32a into betaflight:master Dec 23, 2023
8 checks passed
@haslinghuis haslinghuis deleted the add-satellite-layer branch December 23, 2023 12:14
chmelevskij pushed a commit to chmelevskij/betaflight-configurator that referenced this pull request Apr 27, 2024
* Add satellite layer and show map on latlon values

* Use controls

* Hide all layers initially except OSM

* Remove debug location

* Add some layer tag and update switching

* Remove debug

* Remove layerGroup

* Remove commented code

* Remove maxzoom

* Remove bloat and increase default zoom level

* Use buttons instead of anchors

* Remove class

* Remove unused messages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: COMPLETED
Development

Successfully merging this pull request may close these issues.

None yet

4 participants