mapbox-gl-js
mapbox-gl-js copied to clipboard
Interactive, thoroughly customizable maps in the browser, powered by vector tiles and WebGL
## Motivation You can cluster a `GeoJSONSource`, but it's difficult to filter out source data because the layer `filter` expression applies to the clustered features. The `GeoJSONSource` has a `filter`...
`unproject()` seems to be returning the incorrect coordinates when point is off screen. This issue becomes more apparent on higher zoom levels. The objective is to draw multiple lines between...
I noticed while dragging panning the map down as far as it would go, geometry features no longer render correctly or are dropped from the map entirely:  --- **Version**:...
The styles-spec's `sdk-support` field only specifies versions for fields, not for values: https://github.com/mapbox/mapbox-gl-js/blob/b13b0aed81d9d552da9cec0f570bdb52b8750137/src/style-spec/reference/v8.json#L4112 This can lead to users unintentionally marking their styles as supported by GL JS `2.6.0`, even though...
**mapbox-gl-js version**: 2.8.2 **browser**: FF ### Steps to Trigger Behavior I haven't fully narrowed this down, but it's completely consistent and reproducible at my end. The cause was some bad...
Some of the buildings in the `fill-extrusion` layer manifest a z-fighting artifact as seen in the video below: https://user-images.githubusercontent.com/67509069/175061020-e9c867c8-2b59-4d6f-aa14-1750b45f7689.mp4 ### Steps to Trigger Behavior 1. Add a fill extrusion layer...
**mapbox-gl-js version**: v2.9.1 ### Question I have a use case where I am flying to a location while simultaneously resizing the map container . The issue is that the map...
It's much more pronounced when high levels of exagerration are used, but occurs even without it. **mapbox-gl-js version**: 2.9.1 **browser**: Firefox 101.0.1 ### Steps to Trigger Behavior 1. Login to...
Globe view orients labels upright which is great for most labels. This is less desirable for ocean labels (or at least, I would like to control whether labels like these...
When `globe` projection is used the following snippets yield inconsistent behavior when compared to `mercator` projection: ### `getBounds` and `cameraForBounds`: ``` const c = map.cameraForBounds(map.getBounds()); map.easeTo(c); ``` https://user-images.githubusercontent.com/67509069/164701266-16ce6e51-6faf-490f-94aa-74045d3ee2e7.mp4 The returned...