Merge pull request #240 from orangemug/fix/do-not-expose-fallback-tokens

Do not expose fallback tokens during export
This commit is contained in:
Orange Mug
2018-02-03 14:02:06 +00:00
committed by GitHub
2 changed files with 13 additions and 3 deletions

View File

@@ -251,7 +251,7 @@ export default class App extends React.Component {
mapRenderer() {
const mapProps = {
mapStyle: style.replaceAccessToken(this.state.mapStyle),
mapStyle: style.replaceAccessToken(this.state.mapStyle, {allowFallback: true}),
onDataChange: (e) => {
this.layerWatcher.analyzeMap(e.map)
this.fetchSources();