smithmicro/mapbox-gl-circle

Getting weird lines within circle at various zoom levels

Opened this issue · 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

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

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.

CRooi commented

same problem.