mapbox-gl-circle icon indicating copy to clipboard operation
mapbox-gl-circle copied to clipboard

Getting weird lines within circle at various zoom levels

Open johndhancock opened this issue 5 years ago • 3 comments

I get some strange lines that span the circle at various points that shift based on zoom level. However, they seem to disappear above zoom level 16 or there abouts.

const areaCircle = new MapboxCircle({ lat: 42.2446, lng: -70.9623 }, 804, { strokeColor: '#ffffff', strokeWeight: 5, fillOpacity: 0, }).addTo(map);

Screen Shot 2020-12-08 at 9 11 14 PM

johndhancock avatar Dec 09 '20 03:12 johndhancock

Oddly enough, the lines only appear if I supply a strokeWeight property, and if that value is above 1.

johndhancock avatar Dec 09 '20 14:12 johndhancock

I have this exact issue too and despite digging through code and trying a bunch of things, haven't managed to get rid of those vertical/horizontal lines at all.

landworth avatar Feb 22 '21 03:02 landworth

same problem.

CRooi avatar Oct 22 '22 08:10 CRooi