python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Apply grayscale filter for some layers of a Mapbox map
I try to apply a grayscale effect to the background of a map, but I don't want the upper layers of the map to be affected by the grayscale.
Naively, I applied a CSS filter on the canvas element:
filt...

Raphaël Malié
Votes: 0
Answers: 1
Only be able to edit mapbox-gl-draw shapes when clicked
I am trying to create a web application using mapbox-gl with react. My goal is to have users draw multiple shapes and be able to edit them when desired. However, using map boxes default, a user can ed...
Berk Özkan
Votes: 0
Answers: 1
Mapbox GL style line color based on property text value
I'm trying to style a single GeoJSON source with different line colors based on a feature property using react-map-gl, and I can't find a way to get set the color of lines in a smart way.
Most of all,...
hansmei
Votes: 0
Answers: 1
How to generate a polygon around a GeoJson point in web mercator projection
I am building a tool to display markers on a map at varying heights in Mapbox GL Js. Mapbox currently lacks the ability to give a marker a height, and the geoJson point is not rendered on its own.
How...

Skuffd
Votes: 0
Answers: 2