We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 479de50 commit 3d68784Copy full SHA for 3d68784
2 files changed
src/plots/map/map.js
@@ -368,9 +368,8 @@ proto.resolveOnRender = function(resolve) {
368
proto.rejectOnError = function(reject) {
369
var map = this.map;
370
371
- function handler(e) {
372
- console.error('Map error event:', JSON.stringify(e));
373
- reject(new Error(e));
+ function handler() {
+ reject(new Error(constants.mapOnErrorMsg));
374
}
375
376
map.once('error', handler);
0 commit comments