smithmicro / mapbox-gl-circle

A *google.maps.Circle* replacement for Mapbox GL JS
https://smithmicro.github.io/mapbox-gl-circle/
ISC License
55 stars 26 forks source link

Getting weird lines within circle at various zoom levels #91

Open johndhancock opened 3 years ago

johndhancock commented 3 years ago

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 commented 3 years ago

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

landworth commented 3 years ago

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 1 year ago

same problem.