From f067bffa05f36eebead17a695579390c27bf5abb Mon Sep 17 00:00:00 2001 From: Aleksandr Shoronov Date: Mon, 23 Sep 2024 16:35:41 +0300 Subject: [PATCH] [GLJS-1003] Add GL JS Storage Usage Policy (internal-1852) --- README.md | 3 ++- STORAGE.md | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 STORAGE.md diff --git a/README.md b/README.md index 4b24f201598..13dfecb2a2a 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ native SDKs. For code and issues specific to the native SDKs, see the - [Style documentation](https://docs.mapbox.com/mapbox-gl-js/style-spec/) - [Open source styles](https://github.com/mapbox/mapbox-gl-styles) - [Contributor documentation](./CONTRIBUTING.md) +- [Browser Data Storage](./STORAGE.md) [Mapbox GL JS gallery of map images](https://www.mapbox.com/mapbox-gljs) @@ -34,4 +35,4 @@ Mapbox Web SDK Copyright © 2021 - 2023 Mapbox, Inc. All rights reserved. -The software and files in this repository (collectively, “Software”) are licensed under the Mapbox TOS for use only with the relevant Mapbox product(s) listed at www.mapbox.com/pricing. This license allows developers with a current active Mapbox account to use and modify the authorized portions of the Software as needed for use only with the relevant Mapbox product(s) through their Mapbox account in accordance with the Mapbox TOS. This license terminates automatically if a developer no longer has a Mapbox account in good standing or breaches the Mapbox TOS. For the license terms, please see the Mapbox TOS at https://www.mapbox.com/legal/tos/ which incorporates the Mapbox Product Terms at www.mapbox.com/legal/service-terms. If this Software is a SDK, modifications that change or interfere with marked portions of the code related to billing, accounting, or data collection are not authorized and the SDK sends limited de-identified location and usage data which is used in accordance with the Mapbox TOS. [Updated 2023-01] \ No newline at end of file +The software and files in this repository (collectively, “Software”) are licensed under the Mapbox TOS for use only with the relevant Mapbox product(s) listed at www.mapbox.com/pricing. This license allows developers with a current active Mapbox account to use and modify the authorized portions of the Software as needed for use only with the relevant Mapbox product(s) through their Mapbox account in accordance with the Mapbox TOS. This license terminates automatically if a developer no longer has a Mapbox account in good standing or breaches the Mapbox TOS. For the license terms, please see the Mapbox TOS at https://www.mapbox.com/legal/tos/ which incorporates the Mapbox Product Terms at www.mapbox.com/legal/service-terms. If this Software is a SDK, modifications that change or interfere with marked portions of the code related to billing, accounting, or data collection are not authorized and the SDK sends limited de-identified location and usage data which is used in accordance with the Mapbox TOS. [Updated 2023-01] diff --git a/STORAGE.md b/STORAGE.md new file mode 100644 index 00000000000..ed933d1c953 --- /dev/null +++ b/STORAGE.md @@ -0,0 +1,2 @@ +# Browser Data Storage +Mapbox GL JS SDK uses the browser [local storage](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage) system and keys prefixed with `mapbox.eventData` to store telemetry-related data. This data includes a randomly-generated ID that is included in telemetry events that are sent to Mapbox in order to calculate aggregate usage statistics; as well as metadata about telemetry events that is only used locally. This data is not sold to third parties, nor does Mapbox use the data (either alone or in combination with any personal identifiers) for advertising, tracking end users, or creating profiles of individual end users.