Thanks.
How do I, “set the Zoom Level to adjust the zooming on the map to make all pins visible”?
When I set zoom level to 1 as you did in your screenshot, my map zooms in on Africa (where none of my pins are).
Also, can you give me an example of how to modify the following Javascript (from the Mapbox API documentation) to make the zoom controls appear on my map?
<script>
mapboxgl.accessToken = ‘<your access token here>’;
var map = new mapboxgl.Map({
container: ‘map’, // container id
style: ‘mapbox://styles/mapbox/streets-v11’,
center: [-74.5, 40], // starting position
zoom: 9 // starting zoom
});
// Add zoom and rotation controls to the map.
map.addControl(new mapboxgl.NavigationControl());
</script>