Access token labels OMT - MapTiler

This commit is contained in:
pathmapper 2018-09-14 08:16:45 +02:00
parent e02b18cea3
commit fff8fb72c5
2 changed files with 2 additions and 2 deletions

View file

@ -70,7 +70,7 @@ class ExportModal extends React.Component {
</p> </p>
<p> <p>
<InputBlock label={"OpenMapTiles Access Token: "}> <InputBlock label={"MapTiler Access Token: "}>
<StringInput <StringInput
value={(this.props.mapStyle.metadata || {})['maputnik:openmaptiles_access_token']} value={(this.props.mapStyle.metadata || {})['maputnik:openmaptiles_access_token']}
onChange={this.changeMetadataProperty.bind(this, "maputnik:openmaptiles_access_token")} onChange={this.changeMetadataProperty.bind(this, "maputnik:openmaptiles_access_token")}

View file

@ -82,7 +82,7 @@ class SettingsModal extends React.Component {
/> />
</InputBlock> </InputBlock>
<InputBlock label={"OpenMapTiles Access Token"} doc={"Public access token for the OpenMapTiles CDN."}> <InputBlock label={"MapTiler Access Token"} doc={"Public access token for MapTiler Cloud."}>
<StringInput {...inputProps} <StringInput {...inputProps}
data-wd-key="modal-settings.maputnik:openmaptiles_access_token" data-wd-key="modal-settings.maputnik:openmaptiles_access_token"
value={metadata['maputnik:openmaptiles_access_token']} value={metadata['maputnik:openmaptiles_access_token']}