mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2025-01-29 22:54:39 +01:00
Re-add default field after style update
This commit is contained in:
parent
bba7aa3177
commit
2ffb3e73e1
1 changed files with 14 additions and 0 deletions
|
@ -190,6 +190,20 @@ export default class ZoomSpecProperty extends React.Component {
|
|||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div className="maputnik-data-spec-property-group">
|
||||
<DocLabel
|
||||
label="Default"
|
||||
doc={"Input a default value for data if not covered by the scales."}
|
||||
/>
|
||||
<div className="maputnik-data-spec-property-input">
|
||||
<SpecField
|
||||
fieldName={this.props.fieldName}
|
||||
fieldSpec={this.props.fieldSpec}
|
||||
value={this.props.value.default}
|
||||
onChange={propVal => this.changeDataProperty("default", propVal)}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</InputBlock>
|
||||
</div>
|
||||
{dataFields}
|
||||
|
|
Loading…
Reference in a new issue