Creating a Mapbox key
Stockist gives you a choice of two map providers to power the map imagery in your store locator: Google Maps and Mapbox.
While Google Maps is well-known, setting up a license key to use Google Maps on your own site is relatively involved. Additionally, even though most of our clients do not incur additional costs to use Google Maps on their website, Google still asks you to link your credit card details to your key.
As an alternative, Stockist supports powering your store locator’s map using Mapbox. Mapbox is another map company that focuses on providing maps to be used on your website. Their maps are similar to Google’s and offer a similar level of free monthly usage, but are much easier to set up and don't require a credit card to get started.
To create a Mapbox license key (also known as an "access token") to use with your store locator, you can follow the steps below:
Creating your key
Follow these steps to set up your key:
- Sign up for an account with Mapbox on their website: https://account.mapbox.com/
You'll need to choose a username (a good choice is your business name without spaces, e.g. "examplesitename") and also enter your email address and select a password. You may want to write down your account details in a secure place in case you need to access your account to make changes later on.
- On the Account screen, find the long series of letters and numbers labeled Default public token, as shown below:
- Copy the key by clicking the clipboard icon next to the text:
- Add the token to your Stockist account on the Map provider page of the app dashboard: