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 circle and square borderless shaders #127

Merged
merged 8 commits into from
Jun 18, 2024

Conversation

melgrove
Copy link
Contributor

Benchmarked to be faster than default point shader implementation because it doesn't call mix() to make a border. Used by setting:

  • fragmentShaderSource: L.glify.shader.fragment.dotBorderless
  • fragmentShaderSource: L.glify.shader.fragment.squareBorderless

I've only tested this for the points() method. Not sure what it would do for the others.

melgrove added 3 commits May 23, 2022 19:24
- Give background for when GeoJSON can be passed and when an array can be passed to `options.data` (robertleeplummerjr#79)
- Give example for how to use `.update()` and `.remove()`
- Add information on `longitudeFirst()`, `latitudeFirst()`, `pointsInstances`, `linesInstances`, and `shapesInstances`
- Add information about the default expected order of lat and lng being different for `.shapes()` than it is for `.points()` and `.lines()` (robertleeplummerjr#78 and #1)
@melgrove
Copy link
Contributor Author

Closes #111

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