Leaflet.glify icon indicating copy to clipboard operation
Leaflet.glify copied to clipboard

Remove border in point

Open alex-oko opened this issue 3 years ago • 4 comments

How can I remove the border from a point?

At this moment I am changing the opacity of the point according to the click of a button, that's fine.

But when the point has opacity 0 you can see the edge of it and that is something I want to eliminate and I still can't find how ...

Do you have any idea ?

image

image

alex-oko avatar Nov 12 '21 15:11 alex-oko

Do you find out how to remove this black line yet?

vutle avatar Dec 10 '21 03:12 vutle

You can change the point shader. Just set the border color to the same color as the point.

iisri-vu avatar Feb 10 '22 10:02 iisri-vu

Hi @alex-oko @vutle , I created a pull request with circle and square borderless shaders. See here: https://github.com/robertleeplummerjr/Leaflet.glify/pull/127 for dotBorderless.glsl and squareBorderless.glsl

melgrove avatar May 29 '22 03:05 melgrove

@alex-oko you can use this option: fragmentShaderSource : L.glify.shader.fragment.simpleCircle

xuantruonglk02 avatar Aug 23 '24 03:08 xuantruonglk02