Skip to content

Commit

Permalink
Merge pull request #5672 from gooddata/dp-2566-mapbox-doc-update
Browse files Browse the repository at this point in the history
TRIVIAL: geo pushpin token doc clarification
  • Loading branch information
SubTachyon authored Dec 9, 2024
2 parents a896e97 + c123ffe commit c89e97d
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c89e97d

Please sign in to comment.