weglide / bugtracker

WeGlide platform bug tracker.
https://www.weglide.org
11 stars 1 forks source link

Center multiple flights #96

Closed frantzheld closed 3 years ago

frantzheld commented 3 years ago

Describe the bug When embedding a flight, the flight gets centered after loading. When multiple flights are embedded, the centering does not work, see screenshot. Same for Flight detail page with multiple flights: https://beta.weglide.org/flights/1109,12654,1089

To Reproduce Steps to reproduce the behavior:

  1. Go to https://beta.weglide.org/embedded/1109,12654,1089?baro=true&bbox=
  2. See that flights are not centered / zoomed in
  3. Zoom in manually
  4. Click on Center flight image
  5. See that view zooms out

Expected behavior Flights should be centered when loaded or when clicking the center flight button.

Screenshots image

Device (please complete the following information):

samuel-git commented 3 years ago

Fixed for next release.