mapbox-gl-js
mapbox-gl-js copied to clipboard
Interactive, thoroughly customizable maps in the browser, powered by vector tiles and WebGL
## Motivation instead of mbtiles, pmtiles can be run from a cloud-web-space without any additional service. This would make it more easily to use vector-tiles for small projects. It`s a...
**mapbox-gl-js version**: 3.4.0 ### Question Up until now, I have enabled custom fonts from our Mapbox account by overriding the glyphs url like this: ```js const glyphsUrl = 'mapbox://fonts//{fontstack}/{range}.pbf' const...
**mapbox-gl-js version**: ### Question **Is it possible to update the access token that a map is using while that map is rendered?** I have been tasked with ensuring there are...
**mapbox-gl-js version**: v3.4.0 **browser**: Chrome 125 ### Steps to Trigger Behavior 1. Upload a raster file ([file used in example can be found here](https://inzenl.com/raster.tiff)) 2. Add the raster source with...
![image](https://github.com/mapbox/mapbox-gl-js/assets/128102810/b2d472b3-7d6f-4316-af73-e05a649eec08)
### Question Hello, I'm trying to find a way to query features of vector tilesets when they are not visible. I tried `querySourceFeatures()`, but it's not working. Please let me...
In the example code for placing a marker https://docs.mapbox.com/mapbox-gl-js/example/add-a-marker/ if you zoom to around `5.977804006915341` and drag the map so the markers about to fall off the canvas you will...
**mapbox-gl-js version**: 3.4.0 **browser**: Firefox, Chrome ### Steps to Trigger Behavior 1. Add a directional light with the map.setLights() function 2. Notice that the scene is still flat shaded (in...
## Motivation Right now, If there is an error, Mapbox will throw an error with an error message. There is no way to programmatically check the type of error and...
After #13186 padding options are not applied to `flyTo` or `fitBounds` if the user has also set prefers-reduced-motion to `reduce` **Mapbox v3.4.0** ### Steps to Trigger Behavior 1. add a...