diff --git a/src/MaplibreGLLayer.js b/src/MaplibreGLLayer.js index 635a527..713a675 100644 --- a/src/MaplibreGLLayer.js +++ b/src/MaplibreGLLayer.js @@ -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.'); } });