mirror of
https://github.com/maputnik/editor.git
synced 2025-12-25 23:50:02 +00:00
console.log map errors.
This commit is contained in:
@@ -180,6 +180,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