Skip to content

Conversation

@LukePrior
Copy link
Member

I have decided to move to canvas rendering for station icons after seeing the performance increase it offered with launch sites.
This change does require more initial files and slightly degrades zoom quality but the overall experience is considerably improved.

I have measured page performance for SondeHub V2 (Google Maps), SondeHub V2 (Leaflet, DOM rendering), and SondeHub V2 (Leaflet, canvas rendering).

The base frame rate is ~25fps for Google Maps and ~80 for both Leaflet versions when the map is still.
When moving the map the google frame rate is ~5fps, ~25fps for Leaflet DOM, and ~70fps for Leaflet canvas.

This should ensure the map remains smooth to use on more devices.

@LukePrior LukePrior closed this Jun 28, 2021
@LukePrior LukePrior reopened this Jun 28, 2021
@TheSkorm TheSkorm merged commit c536d7e into projecthorus:testing Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants