Merge pull request #383 from pathmapper/master

Access token labels OMT -> MapTiler
This commit is contained in:
Orange Mug 2018-09-15 10:03:21 +01:00 committed by GitHub
commit 805133d10c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -70,7 +70,7 @@ class ExportModal extends React.Component {
</p>
<p>
<InputBlock label={"OpenMapTiles Access Token: "}>
<InputBlock label={"MapTiler Access Token: "}>
<StringInput
value={(this.props.mapStyle.metadata || {})['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 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}
data-wd-key="modal-settings.maputnik:openmaptiles_access_token"
value={metadata['maputnik:openmaptiles_access_token']}