Skip to content
This repository has been archived by the owner on Jul 6, 2023. It is now read-only.

Adds GroupedLineSymbolizer #12

Merged
merged 11 commits into from
Nov 22, 2021
Merged

Adds GroupedLineSymbolizer #12

merged 11 commits into from
Nov 22, 2021

Conversation

ibesora
Copy link

@ibesora ibesora commented Nov 18, 2021

Adds a drawGrouped method to PaintSymbolizer that receives all the features of a tile.
That allows creating more performant draw functions that reduce greatly the number of draw calls.
In the example below we go from 80K draw calls to 66 when viewing the trails dataset at zoom level 8 on full-screen.
image

Opening this PR to discuss the approach taken here and to see if there are better ways to integrate it inn protomaps

@ibesora ibesora merged commit 8ea44b8 into master Nov 22, 2021
@github-actions
Copy link

🎉 This PR is included in version 1.11.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

1 participant