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.

Overview

Apple Maps JS (MapKit JS) is Apple's JavaScript framework for embedding interactive maps into websites. It renders map tiles, location pins, directions, and geographic data using Apple's mapping infrastructure. Sites use it as an alternative to Google Maps, often chosen for its privacy-first design and integration with the Apple ecosystem.

What This Script Does

MapKit JS loads scripts from cdn.apple-mapkit.com and fetches map tile data from Apple's mapping servers. The framework requires a MapKit JS JSON Web Token (JWT) for authentication, which the developer generates server-side and passes to the client. This token authorizes map tile requests but does not identify end users.

When the map renders, the SDK makes network requests to Apple's tile servers to load map imagery, satellite views, and geographic data. If the site uses directions or search features, requests go to Apple's geocoding and routing APIs. These requests include the map's viewport coordinates and any search queries but are not tied to persistent user identifiers.

MapKit JS does not set cookies — neither first-party nor third-party. It does not use localStorage or sessionStorage for tracking. It does not load advertising scripts or participate in any ad network. The only data transmitted to Apple is the geographic context needed to render the requested map view.

Apple's privacy documentation confirms that MapKit JS requests are not associated with Apple IDs or used to build user profiles. Map tile requests are handled by Apple's CDN infrastructure with standard server logs that are not used for tracking purposes.

Consent & Compliance

Apple Maps JS is classified as functional. It provides an interactive map feature that enhances the user experience (e.g., store locators, venue maps, directions) but is not strictly necessary for a website's core operation.

Under the GDPR, MapKit JS has minimal privacy implications. It does not process personal data beyond transient network request metadata (IP addresses in server logs). No consent is required for the map scripts themselves, though organizations embedding maps should note that IP addresses transmitted to Apple's servers constitute personal data processing.

Under the ePrivacy Directive, MapKit JS does not access or store information on the user's device (no cookies, no local storage), so Article 5(3) consent requirements do not apply. The network requests to Apple's servers are standard HTTP requests necessary to deliver the map functionality.

Under CCPA/CPRA, Apple Maps JS does not sell or share personal information. Apple does not use MapKit JS data for advertising or cross-context behavioral profiling.

Should You Block This Without Consent?

No. Apple Maps JS is a functional mapping tool that sets no cookies, performs no tracking, and collects no behavioral data. It is one of the most privacy-friendly mapping solutions available. Blocking it would remove useful map functionality with no privacy benefit to the user.

Visit website

Consent Categories

Functional

Also Known As

MapKit JSApple MapKitApple Maps embedApple Maps APIMapKit JavaScript

Industries

Computers Electronics and TechnologyComputer Hardware

Tracked Domains (2)

cdn.apple-mapkit.comFunctional
mapkit.apple.comFunctional

Frequently Asked Questions

Does Apple Maps JS require cookie consent?

Generally no. Apple Maps JS sets no cookies and uses no localStorage or sessionStorage for tracking. ePrivacy Article 5(3) consent applies only to device storage, which MapKit JS does not perform. IP addresses sent to Apple tile servers are personal data under GDPR but do not trigger cookie consent requirements.

What does Apple Maps JS transmit to Apple?

MapKit JS contacts cdn.apple-mapkit.com for the framework, tile.maps.apple.com for map imagery, and api.apple-mapkit.com for geocoding and routing. Requests include viewport coordinates and search terms. A JWT token authorizes tile requests without identifying end users. Apple confirms these requests are not tied to Apple IDs or used for profiling.

How does ConsentStack handle Apple Maps JS?

ConsentStack classifies Apple Maps JS as functional. Because it sets no cookies and performs no behavioral tracking, ConsentStack does not block it based on consent state. It is disclosed in the site's privacy policy as a functional mapping provider. No consent gate is applied in standard ConsentStack configurations.

Other Apple Products

Related Vendors

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.
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 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.
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 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.
Apple
Apple
Primarily present through Apple Maps JavaScript embeds and Apple Pay JS on e-commerce sites. The Maps script renders interactive maps and may log interaction events. Apple Pay JS checks device eligibility and communicates with Apple servers during checkout to complete payment sessions.

Manage consent for Apple Maps JS

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