Skip to content

Commit

Permalink
Update src/MaplibreGLLayer.js
Browse files Browse the repository at this point in the history
Co-authored-by: Patrick Arlt <[email protected]>
  • Loading branch information
Kizito007 and patrickarlt authored Dec 18, 2024
1 parent 9f1f585 commit d8b3353
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MaplibreGLLayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export var MaplibreGLJSLayer = Layer.extend({
// Listen for style data error (401 Unauthorized)
this._glMap.on('error', function (error) {
if (error.error && error.error.status === 401) {
console.warn('Invalid API key. Please check your ArcGIS API key.');
console.warn('Invalid or expired API key. Please check that API key is not expired and has the basemaps privilege assigned.');
}
});

Expand Down

0 comments on commit d8b3353

Please sign in to comment.