mirror of
https://github.com/maputnik/editor.git
synced 2026-07-31 18:27:28 +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 => {
|
map.on("zoom", e => {
|
||||||
this.setState({
|
this.setState({
|
||||||
zoom: map.getZoom()
|
zoom: map.getZoom()
|
||||||
|
|||||||
Reference in New Issue
Block a user