Skip to main content

Questions tagged [mapbox-gl]

A client-side framework for rendering web maps with implementations on native platforms utilizing OpenGL.

1 vote
1 answer
585 views

I have an interactive map in which each marker is a location, and each radio button filters those locations by region. By default, the markers are grouped by clusters. Tha map has : an interactive ...
blogob's user avatar
  • 329
1 vote
0 answers
84 views

I am using Mapbox GL JS in my vuetify project. I have a vector tile API. This API will return points for each tile (xyz). I use addSource and addLayer to render the features gotten from the vector ...
timewalker's user avatar
1 vote
0 answers
296 views

I want my features to smoothly transition different to colors based on its data. For this I apply a new map.setPaintProperty but then the 'fill-color-transition' property becomes lost, forever.. Some ...
user1249791's user avatar
0 votes
2 answers
104 views

I have three layers as follows; ski areas (polygons) ski lifts (ways) ski rund (ways) There is a unique ID that makes it relate back to the ski area. This is an example: ski areas (polygons) // id=...
spreaderman's user avatar
0 votes
1 answer
2k views

In the H3-JS example I have, it is implemented in mapbox. But I would like to integrate the H3-JS binning as part of Openlayers map instead. This is the example I want to implement in OpenLayers. ...
SharmaPN's user avatar
1 vote
0 answers
814 views

I am currently working with self-hosted vector tiles. These tiles are hosted on S3 and rendered on the map. The zoom levels are from 0 to 10 and generally load on all levels since maxzoom has been ...
Nacho Libre's user avatar
0 votes
1 answer
899 views

I'm visualizing geospatial data that has an attribute table with fields like this: id | main_type | sub_type In Mapbox GL, I can use expressions to paint the polygons according to main_type: ...
interwebjill's user avatar
2 votes
2 answers
2k views

I have a map with a custom layer. Right now I have a problem that when points state get updated the map doesn't rerender. How can I force a rerender of the map layer when points changes? Codesandbox: ...
matieva's user avatar
  • 171
1 vote
0 answers
121 views

I am working on a full UK map and I need the postcode level 1 and 2 (areas and districts) and while I have gotten the postcode level 1 data, I need the postcode level 2 (postcode districts) data that ...
johndoe's user avatar
  • 11
1 vote
0 answers
1k views

I would like to have an edit option for my user to edit an existing line or polygon plotted in a map. The edit option should allow user to add new vertices where user clicks. I have tried using Mapbox-...
Sreejith V's user avatar
2 votes
0 answers
2k views

I want to make the text-label in the symbol layer fit within the polygon. Change the position and size of the text-label according to zoom and polygon. It is required for Mapbox GL JS. const map = new ...
user avatar
0 votes
1 answer
1k views

I am trying to add a range slider to zoom in and out of a Mapbox map to a radius in miles. I have the map and the slider working and I can sort of zoom in and out of the map by getting the bounds of ...
JulesUK's user avatar
  • 113
1 vote
1 answer
701 views

I am trying to filter my Mapbox map based on a substring filter. I have a column called COUNTY which has strings like Kern,Ventura,Los Angeles. My current code is as follows - map.addLayer({ id: &...
Divyam Khanna's user avatar
0 votes
1 answer
210 views

I’m currently working on a project to stream GeoJSON data using D3 and Mapbox. But, I wasn’t able to plot my data based on their types. Basically, I have three different types of GPS data, when using ...
OrangeGoGo's user avatar
3 votes
2 answers
4k views

Before adding new mapboxgl.Popup(), I have to delete the existing ones if there are any. My code is: const popup = new mapboxgl.Popup() .setLngLat(middleCoordinates) .setHTML(`Distance:...
Toni BCN's user avatar
  • 327

15 30 50 per page
1
2 3 4 5
8