New answers tagged

1 vote
Accepted

Collapsible sidebar instead of popup message in Mapbox?

Problem with your code logic is that sidebar toggle function toggleSidebar is called on each feature click, regardless if sidebar is already opened or not. Code should check if sidebar is opened and ...
TomazicM's user avatar
  • 24.1k
0 votes

Query mbtile vector at a higher zoom level while visualising in lower zoom in Mapbox GL JS?

You can use my tool tilequery to query vector tiles using a point or bounding box. For polygons beware of the geometry since it will be clipped to the vector tile but you can access the properties no ...
Malcolm's user avatar
  • 469

Top 50 recent answers are included