Relative Content

Tag Archive for mapboxmapbox-gl-jsmapbox-glmaplibre-gl

Mapbox gl borders are a mess

I have many overlapping polygons that i want to render using Mapbox gl. In order to display their borders i create an additional line layer on to of it. Because many polygons overlap, the lines intersect and look like a mess. In openlayers or leaflet the border is per polygon, so when a polygon is covered by another polygon, so is it’s border. I want this kind of behavior.