Skip to content

Commit

Permalink
Merge pull request #5191 from kalmykov/mapbox_token_warning_fix
Browse files Browse the repository at this point in the history
Fix Mapbox default token warning showing up all the time
  • Loading branch information
Hannah authored Apr 11, 2017
2 parents 7b4fc36 + c487c73 commit 327ce32
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
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

0 comments on commit 327ce32

Please sign in to comment.