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

Frame rate drops slightly on the map view when scrolling with lots of takeoff markers visible #21

Open
ntamas opened this issue Jul 22, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@ntamas
Copy link
Member

ntamas commented Jul 22, 2022

Steps to reproduce:

  1. Open a larger show file with 80-100 drones and make sure that the takeoff markers are visible on the map.
  2. Hide the takeoff markers in the settings of the "Mission info" layer.
  3. Drag the map around a little bit with the mouse. Notice that the scrolling is buttery smooth.
  4. Turn the takeoff markers back on.
  5. Drag the map around again; notice that the frame rate drops slightly. It is not a big deal, but it's a bit annoying, considering that drawing 80-100 triangles should not put too much of a strain on the CPU / GPU.

I believe that we are missing some trivial optimization in OpenLayers, like setting updateLayerWhileInteracting or some other similar prop tofalse. Let's look a bit into this to see whether there are any low-hanging fruits for optimization.

@ntamas ntamas added the bug Something isn't working label Oct 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant