mapbox/mapbox-gl-js

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

Open

#2.602 geöffnet am 22. Mai 2016

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)JavaScript (2.203 Forks)batch import
feature :green_apple:good first issue

Repository-Metriken

Stars
 (10.532 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide