mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-11-10 10:07:45 +01:00
console.log map errors.
This commit is contained in:
parent
8dfc16e7ee
commit
c588164190
1 changed files with 4 additions and 0 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue