Mapbox

Mapbox

Interactive map platform used by developers and enterprises as a programmable alternative to Google Maps. The Mapbox GL JS library renders vector tile maps in the browser using WebGL. Mapbox may log map tile requests and interactions for billing and analytics purposes.

Overview

Mapbox is an interactive mapping platform used by developers as a programmable alternative to Google Maps. The Mapbox GL JS library renders vector tile maps in the browser using WebGL, providing customizable map experiences for location-based applications.

What This Script Does

The Mapbox GL JS library is a substantial JavaScript package that renders interactive vector maps directly in the browser using WebGL. When loaded, it:

  • Fetches map tiles: Makes requests to Mapbox's tile servers (api.mapbox.com) to download vector tile data, sprites, and fonts as the user pans and zooms the map. Each tile request includes the site's Mapbox access token.
  • Geolocation (optional): If the site uses the GeolocateControl, the browser's Geolocation API is invoked, which requires the user's permission via the browser's native prompt.
  • Telemetry: Mapbox collects anonymized usage data (map loads, interactions) for billing and service improvement. This telemetry is sent to Mapbox's events.mapbox.com endpoint and includes the access token, map interaction events, and a session identifier. Telemetry can be disabled via mapboxgl.accessToken configuration or by setting mapboxgl.config.collectResourceTiming = false.
  • No cookies: Mapbox GL JS does not set cookies on the embedding site's domain. It uses the access token for authentication and billing rather than cookie-based tracking.

The library is large (approximately 200-700KB depending on version and plugins) and makes numerous network requests for tile data during map interaction.

Consent & Compliance

Mapbox is a functional tool — it provides interactive map content that is typically core to the page's purpose (store locators, delivery tracking, property search, etc.).

Under GDPR/ePrivacy:

  • Map rendering: Functional and does not require consent when the map is integral to the service.
  • Telemetry: The anonymized usage telemetry sent to Mapbox is a gray area. It transmits interaction data to a third party, but it is anonymized and used for service operation. Strict interpretations of ePrivacy may require consent for this telemetry.
  • Geolocation: Handled by the browser's native permission prompt, separate from cookie consent.

Under CCPA, the IP addresses transmitted with tile requests may constitute personal information, but Mapbox acts as a service provider in this context.

Should You Block This Without Consent?

No. Mapbox is a functional content component that does not set cookies or perform cross-site tracking. If maps are integral to your site's functionality, they can load without consent. If you want to be strictly compliant, consider disabling Mapbox's telemetry endpoint, which removes the only data-sharing concern.

Visit website

Consent Categories

Functional

Also Known As

Mapbox GL JSMapbox APIMapbox tilesvector maps librarymapbox.com privacy

Industries

Programming and Developer SoftwareComputers Electronics and Technology

Tracked Domains (4)

mapbox.comEssential
api.mapbox.comFunctional
tiles.mapbox.comFunctional
events.mapbox.comFunctional

Frequently Asked Questions

Does Mapbox require consent before loading?

No. Mapbox GL JS does not set cookies on your site and is classified as functional. When maps are integral to the page — store locators, delivery tracking, or property search — the library loads without consent under the ePrivacy strictly necessary exemption.

What data does Mapbox transmit to its servers?

Mapbox makes tile requests to api.mapbox.com including your access token and map viewport coordinates. It sends anonymized telemetry to events.mapbox.com covering map load counts and interaction events. No persistent cookies are set; the API key authenticates billing, not individual users.

How does ConsentStack categorize Mapbox?

ConsentStack marks Mapbox as functional and permits it to load without consent. If you want to eliminate the telemetry concern entirely, ConsentStack can surface a note to disable Mapbox's telemetry endpoint in your GL JS configuration, which removes the only borderline data-sharing element.

Related Vendors

Google Maps
Google Maps
Google Maps is the dominant web mapping service used for embedded maps and location features on websites. Scripts load interactive map tiles, geocoding, and Places API functionality through the Maps JavaScript API. May set cookies to remember map preferences and manage API quota.
Google Search
Google Search
Google Search appears on websites through the Programmable Search Engine, enabling custom site-specific search functionality. Scripts load the search widget from Google's servers to render search bars and display results within the host website. Sends search queries to Google's index and may set cookies for search personalization and query history.
Google
Google
Google is the dominant provider of web analytics, advertising, and infrastructure tools. Scripts like Google Analytics, Tag Manager, Ads, and reCAPTCHA collect behavioral data, manage tag firing, serve targeted ads, and detect bots. Sets persistent cookies to track users and correlate activity across sites.
Microsoft Teams
Microsoft Teams
Microsoft Teams is a workplace communication and collaboration platform that can be embedded on websites for chat, meetings, and document sharing. Embedded widgets load from Microsoft's servers to enable real-time messaging, video calls, and file collaboration. Sets authentication and session cookies to verify participant identity and maintain connection state.
Apple Maps JS
Apple Maps JS
Apple Maps JS is Apple's JavaScript mapping framework for embedding interactive maps on websites. Scripts load map tiles, location pins, and routing data from Apple's MapKit servers to render navigable maps within web pages. Requires a MapKit JS token for authentication but does not set tracking cookies or collect behavioral analytics data.
Apple Business Chat
Apple Business Chat
Apple Business Chat enables direct customer messaging between websites and Apple's Messages app. Scripts load chat buttons and conversation interfaces that connect visitors to business support agents through iMessage. Sets minimal session cookies to maintain conversation context but does not track browsing behavior or collect analytics data.

Manage consent for Mapbox

ConsentStack automatically detects and manages Mapbox trackers so your site stays compliant with global privacy regulations.