mapbox-gl-js
mapbox-gl-js copied to clipboard
Interactive, thoroughly customizable maps in the browser, powered by vector tiles and WebGL
## Motivation Currently, the custom data source of mapbox only supports Raster type, Judging by the following logic: ```js function isRaster(data: any): boolean { return data instanceof ImageData || data...
For example, when rendering buildings, when zoom changes from 5 to 6, are the rendering objects of zoom 5 deleted and then rendered at zoom 6? Will this cause flickering?...
Supporting *-translate properties isn't as straightforward as supporting other paint properties because translation is incorporated into the transform matrix. ## Potential Designs - incorporate translation property function into position in...
`[email protected]` isn't used anywhere, so removing it from deps. This eliminates the 23 KB / 18 deps that `sort-object` brings in when you download `@mapbox/mapbox-gl-style-spec`. ref: https://npmgraph.js.org/?q=sort-object ## Launch Checklist...
## Motivation On the android and ios SDKs, there is a `tileRequestsDelay` parameter that can be enforced. This avoids loading too many unuseful tiles during animations - especially flyTo -...
I am having issues visualizing a geo-referenced 3d model using a threejs custom layer. Hoping someone can lend a helping hand :) I created a dummy [.obj file](https://gist.githubusercontent.com/boraerden/682c7775e00562bc37d9764ed019ecb5/raw/62e90009c7a7e111777a273a0e7f58a40eb6d412/paris_31n_points.obj) that contains...
**mapbox-gl-js version**: v3.4.0 I am trying to recolour pixels of an RGB raster which have a specific R value, and leave all other pixels transparent. ([A highly related Stackoverflow thread](https://stackoverflow.com/questions/78545325/how-to-use-mapboxs-raster-color-to-recolour-pixels-with-a-specific-value-in-a-s).)...
mapbox-gl-js version: v3.4.0 browser: safari **Steps to trigger behavior** 1. Load attached grayscale image as image layer. 2. colorize the image using the attached json with raster color array **Screenshots**...
**mapbox-gl-js version**: v3.4.0 / v3.5.0-beta.1 **browser**: All chromium & Firefox ### Steps to Trigger Behavior 1. Use the standard mapbox style 2. Create a line layer with slot: "top" 3....
# Migrating from `@types/mapbox-gl` to first-class TypeScript typings The GL JS [v3.5.0](https://github.com/mapbox/mapbox-gl-js/releases/tag/v3.5.0-beta.1) release marks a significant transition for GL JS, moving from [Flow](https://flow.org/) to [TypeScript](https://www.typescriptlang.org/). While we have maintained backward...