mapbox/mapbox-gl-js

Add an error message for calling "GeoJSONSource#setData" for a style that doesn't exist

开放

#2,602 创建于 2016年5月22日

 (3 条评论) (0 个反应) (0 位负责人)JavaScript (2,203 个派生)batch import
feature :green_apple:good first issue

仓库指标

星标
 (10,532 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

Can this error message be improved?

(link removed)

Step 1) press the [+] button Step 2) Notice the specific error message

dispatcher.js:32 Uncaught TypeError: Cannot read property 'send' of undefined

The dispatcher.js:32 that doesn't give any hints whatsoever for me and probably other api users.

贡献者指南