How to retain text symbols on linestrings at low zoom?
I have some very high resolution contour lines generated from topographic data which is in the form of GeoJSON MultiLineStrings. I upload and create a vector tile using Mapbox Tile Service Tilesets CLI and add the source and layer to a map as shown below.
A unexpected behavior about draw circle with the radius in meters with mapbox gl js
I attempted to achieve drawing a circle with the radius in miles meters with mapbox gl js.
How do I implement the mapbox-gl-geocoder plugin with [email protected]
Is the mapbox-gl-geocoder no longer maintained? I see very little activity here: https://github.com/mapbox/mapbox-gl-geocoder. Is there a newer replacement I just haven’t found?
Is there a way I can flyTo a coordinate but rotate the map to ensure the marker is visible and not behind a hill?
I am using mapbox gl js, which has an intended behaviour of ‘dimming’ a marker if a direct view is obstructed by 3D terrain. I would like to know if there is a calculation I can make to position the camera so that the marker is always directly visible. There are pitch
and bearing
options with the flyTo
command so technically possible if the correct values can be somehow calculated.
Mapbox – Error: There is already a source with this ID
All of a sudden I am geting this error with mapbox gl js: Error: There is already a source with this ID. The app has been working fine but today this error occured. How can I find what ID and what source? Not much detail in the error.