mirror of
https://github.com/maputnik/editor.git
synced 2026-06-19 05:37:27 +00:00
Do not expose fallback tokens during export. Fixes #230
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user