Does querySourceFeatures use/have some buffer?
When I use querySourceFeatures
on mvt tiles I get results for features that are out of the current viewport.
How to create a gradient background layer in MapboxGL?
Is it possible to somehow create a gradient background in mapboxGL JS or Studio? There is a line-gradient prop there, but I can’t find any information about polygon gradient.
As a background layer or a polygon from -90 to 90.
Is it possible to somehow create a gradient background in mapboxGL JS or Studio? There is a line-gradient prop there, but I can’t find any information about polygon gradient.
As a background layer or a polygon from -90 to 90.
Thanks!
Mapbox Filtering Expression with substring not working as expected
I’ve got a layer that starts with no filter and a set of radio buttons that are generated from the layer data using queryRenderedFeatures
to get the unit_type
CSV for each point, it then separates out the values, ignores duplicates and creates the radio buttons based on the array it has created.
Mapbox along with GIBS NASA API
I have been exploring options on how to add NASA images over Mapbox backgrounds. In this search I have encountered an example in this github respository GIBS mapbox-gl-js example, however it only shows how to establish MODIS Terra True Color image as a background map such as those of Mapbox (e.g. open street maps). I am interested on plotting images such as Landsat products among others, which have a limit field of view with its correspondent coordinates delimiting the box of the taken imagem and put them as a layer over a mapbox map background.
Can I load 3D extrusions from other providers using MapBox GL JS?
I am using MapBox GL JS to display a map with 3D extrusions for buildings and it works great technology-wise. But the problem is MapBox’s own 3D extrusion layer. It comes with many missing buildings and incorrect extrusions. When I look at other providers like Google Maps and TomTom, they seem to have better extrusions that represent the cities more closely to reality, but then they don’t offer the features MapBox does.