mapbox/mapbox-gl-js

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

Open

#2602 aperta il 22 mag 2016

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)JavaScript (2203 fork)batch import
feature :green_apple:good first issue

Metriche repository

Star
 (10.532 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor