I am working on an application using Mapbox GL JS, in which I am showing a heatmap layer, with a data-driven ‘heatmap-weight’ property (based on a custom numerical attribute in my GeoJSON data – ‘detections’). Because many of the points in my data are very near or even overlappin…
Tag: mapbox-marker
Access geometry coordinates with Mapbox expressions somehow?
Every now and then I encounter a code like this: I wonder about ‘$type’ accessor here. Like obviously it allows to grab the type of geometry. But I haven’t seen it mentioned anywhere in the docs. I personally need to access latitude/longitude of the Point geometry. According to documentation…