Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Mapbox default token warning showing up all the time #5191

Merged
merged 1 commit into from
Apr 11, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to contribute to Cesiu
* [Dmitry Kiselev](https://github.com/kiselev-dv)
* [Bentley Systems, Inc.](https://www.bentley.com)
* [Paul Connelly](https://github.com/pmconne)
* [Flightradar24 AB](https://www.flightradar24.com)
* [Aleksei Kalmykov](https://github.com/kalmykov)

## [Individual CLA](http://www.agi.com/licenses/individual-cla-agi-v1.0.txt)
* [Victor Berchet](https://github.com/vicb)
Expand Down
2 changes: 1 addition & 1 deletion Source/Scene/MapboxImageryProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ define([
this._url = url;
this._mapId = mapId;
this._accessToken = MapboxApi.getAccessToken(options.accessToken);
this._accessTokenErrorCredit = MapboxApi.getErrorCredit(options.key);
this._accessTokenErrorCredit = MapboxApi.getErrorCredit(options.accessToken);
var format = defaultValue(options.format, 'png');
if (!/\./.test(format)) {
format = '.' + format;
Expand Down