Do not expose fallback tokens during export. Fixes #230

This commit is contained in:
orangemug
2018-02-02 15:33:15 +00:00
parent a94c53534c
commit b66a4afd28
2 changed files with 13 additions and 3 deletions
+1 -1
View File
@@ -247,7 +247,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();