Clarify Expo plugin configuration instructions
Description
Tiny clarification to Expo plugin doc
Checklist
- [x ] I've read
CONTRIBUTING.md
@pwellner download and access token are different also install instructions are in our docs site. https://rnmapbox.github.io/docs/install
Thanks @mfazekas ! I was a bit confused by these instructions.
Do you think this proposed change makes things more clear to someone just starting out?
Thanks @mfazekas ! I was a bit confused by these instructions.
Do you think this proposed change makes things more clear to someone just starting out?
Thanks for suggesting these changes. I was trying to figure this out right now and fortunately found your PR.
I personally find this to be clearer, but the issue I ran into is actually discovery.
On the Installation instruction page there is no example of the actual usage of Mapbox.setAccessToken, there is only a mention at the top: "public token to use as accessToken when running the app".
In the examples on the website, the map initialization using setAccessToken is also not mentioned. It isn't even a result in the search function.
Thanks @mfazekas ! I was a bit confused by these instructions.
Do you think this proposed change makes things more clear to someone just starting out?
Thanks @mfazekas ! I was a bit confused by these instructions. Do you think this proposed change makes things more clear to someone just starting out?
Thanks for suggesting these changes. I was trying to figure this out right now and fortunately found your PR.
I personally find this to be clearer, but the issue I ran into is actually discovery.
On the Installation instruction page there is no example of the actual usage of
Mapbox.setAccessToken, there is only a mention at the top: "public token to use as accessToken when running the app".In the examples on the website, the map initialization using
setAccessTokenis also not mentioned. It isn't even a result in the search function.
Great point, we'd need an Adding a Map section where we show how to call setAccessToken and how to add a trivial MapView component.
Where should the changes be made?
In the maps repo here? https://github.com/pwellner/maps/blob/main/plugin/install.md
Or in the maps-docs repo here? https://github.com/pwellner/maps-docs/blob/main/docs/install.md
@pwellner I'd like to focus the doc site more and make the repo docs just refer to the doc site.