robertleeplummerjr / Leaflet.glify

fully functional, ridiculously fast web gl renderer plugin for leaflet
https://robertleeplummerjr.github.io/Leaflet.glify
MIT License
474 stars 84 forks source link

Points: Dark color when zoom out #113

Open vutle opened 2 years ago

vutle commented 2 years ago

When zooming out, only the end point retains the color. Other point loose its emissive color and becomes darken.

image

zoomed out: image

image

Aslo, opacity seems to be removed at higher zoom too.

The following code were used to draw points:

 glifyPoints = L.glify.points({
          map: map,
          color:  clrs,
          data:   data, 
            weight: 0,
            opacity: 0.5,
            size: 10,
          });
iisri-vu commented 2 years ago

The problem is caused by the border.

ilmars commented 4 months ago

is there any option to remove border?

xuantruonglk02 commented 1 month ago

you can use this option: fragmentShaderSource : L.glify.shader.fragment.simpleCircle