mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-12-29 07:10:27 +01:00
added missing glyphs property check on styleChanged - addresses #229
This commit is contained in:
parent
d9b6f28bb5
commit
844abd38ce
1 changed files with 1 additions and 2 deletions
|
@ -117,10 +117,9 @@ export default class App extends React.Component {
|
||||||
this.setState({
|
this.setState({
|
||||||
errors:[error]
|
errors:[error]
|
||||||
})
|
})
|
||||||
console.error(error)
|
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
if(newStyle.glyphs !== this.state.mapStyle.glyphs) {
|
if(newStyle.glyphs !== this.state.mapStyle.glyphs) {
|
||||||
this.updateFonts(newStyle.glyphs)
|
this.updateFonts(newStyle.glyphs)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue