From c123ffe4318fb362537048b4f73ebc867dc2e304 Mon Sep 17 00:00:00 2001 From: subtachyon Date: Mon, 9 Dec 2024 10:20:56 +0100 Subject: [PATCH] fix: docs update for geo pushpin token JIRA: DP-2566 risk: low --- .../references/visual_components/geo_pushpin_chart.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/content/en/latest/references/visual_components/geo_pushpin_chart.md b/docs/content/en/latest/references/visual_components/geo_pushpin_chart.md index e8f1446cbcc..eabf3662746 100644 --- a/docs/content/en/latest/references/visual_components/geo_pushpin_chart.md +++ b/docs/content/en/latest/references/visual_components/geo_pushpin_chart.md @@ -9,6 +9,12 @@ A **geo pushpin chart** visualizes data broken down by geographic region across {{< embedded-image alt="Geo Pushpin Chart" src="/gd-ui/geo_pushpin_chart.png" >}} +## Access Token Requirement + +When using geo pushpin charts in a dashboard or the Analytical Designer within GoodData Cloud’s main web application—or when these are embedded directly via an iframe—access tokens are provided automatically, ensuring seamless functionality without user intervention. + +However, when implementing geo pushpin charts in a custom GoodData.UI application (i.e. within the `DashboardView`, `InsightView`, or `GeoPushpinChart` components), you must [provide your own Mapbox access token](https://docs.mapbox.com/help/how-mapbox-works/access-tokens/). This token should be specified in the [mapboxToken property](#properties). + ## Structure ```jsx