mirror of
https://github.com/maputnik/editor.git
synced 2025-12-26 08:00:01 +00:00
Merge pull request #582 from orangemug/fix/add-source-errors
Add open modal and source http/https errors
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user