How Mapbox GL JS does or does not require a Mapbox Access token.
Mapboxgl-Jupyter uses the Mapbox GL Style Spec, an open source specification for map styles.
If the style sheet you specify as the style_url does not use resources from Mapbox APIs - which means that you created a style sheet yourself from public or locally hosted map data sources - then a Mapbox Access Token is not required.
How user data added to a visualization layer is never sent to Mapbox.
Mapbox GL JS renders all data used in a visualization locally on the client using Geojson-VT.
No data included as a layer from mapboxgl.viz.*(data) is sent to Mapbox APIs in any way.
What metadata about an map tile API request is sent to Mapbox.
Creferrer, IP Address, User Agent
What a Mapbox Access Token does
Associates API requests made to Mapbox with a user account
Documentation and tests should:
style_url
does not use resources from Mapbox APIs - which means that you created a style sheet yourself from public or locally hosted map data sources - then a Mapbox Access Token is not required.mapboxgl.viz.*(data)
is sent to Mapbox APIs in any way.Test should: