Merge pull request #582 from orangemug/fix/add-source-errors

Add open modal and source http/https errors
This commit is contained in:
Orange Mug authored and GitHub committed 2019-10-28 18:19:21 +00:00
commit 673887d93b
12 files changed
+181 -48

No files matched your search

+4
View File
@@ -181,6 +181,10 @@ export default class MapboxGlMap extends React.Component {
})
})
map.on("error", e => {
console.log("ERROR", e);
})
map.on("zoom", e => {
this.setState({
zoom: map.getZoom()