mapbox-gl-js
mapbox-gl-js copied to clipboard
Interactive, thoroughly customizable maps in the browser, powered by vector tiles and WebGL
`mapbox-gl` npm package: 2.10.0 ### Question ``` let visited = [1,2,3]; map.addLayer({ id: layer_name, type: "symbol", source: source_name, layout: { "icon-image": [ "case", [">", ["index-of", ["get", "id"], visited], -1], "visited-icon",...
We are using: ``map.setLayoutProperty(label, 'text-field', ['get', `name_${language-abbr}`]`` to switch between label languages in our Mapbox Studio custom map. The label data source is Mapbox Streets v8. The text field formula...
This is a continuation of #11426. Upgrading Flow to a more recent version with a new architecture was a massive improvement that fixed a critical flaw in GL JS development,...
Upgrade Flow from v0.142 to v0.145 as a part of #12194. This was a difficult push because v0.143.0 fixed a bug which made Flow basically ignore many of the library...
I saw the example of the official website. The building has no shadow and it feels very fake. The API did not find an example of building shadows. How can...
This PR fixes #12129, updating marker position correctly when toggling between a map that renders world copies and a map that doesn't by wrapping the lng of the marker when...
We're having this issue on the [Chennai flood map](http://osm-in.github.io/flood-map/chennai.html#16.86/12.99241/80.25987) after adding the `mapbox.satellite` layer.
Hello! Globe view is so great! I need draw arc lines on globe and map. Find solution with geometry and LineString https://docs.mapbox.com/mapbox-gl-js/example/animate-point-along-route/ but this look like 2d. How make it...
## Motivation I have a RasterTileSource with a WMS layer of satellite pictures (sentinel 2). I would like to be able to changes the tiles on the fly, to change...
**mapbox-gl-js version**: 1.9.1 **browser**: Chrome 81 ### Steps to Trigger Behavior 1. Create a geojson source with a LineString feature 2. Create a text layer for the source with `symbol-placement:...