Mapbox UI components.
Setup
yarn add @platform/ui.mapbox
If you experience issues with parceljs bundling, try adding the contents of .babelrc
.
See issue.
Token
Include a file at /test/TOKEN.ts
containing your mapbox access-token:
/**
* manage: https://account.mapbox.com/access-tokens
*/
export const TOKEN = '...';
NB: This is excluded from the repo for obvious reasons.
Get your own token at https://account.mapbox.com/access-tokens
Refs