mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2024-11-10 09:17:46 +01:00
Added style_renderer to field-spec-additional
This commit is contained in:
parent
223721a65d
commit
a8cbe19f09
2 changed files with 8 additions and 1 deletions
|
@ -244,7 +244,10 @@ class SettingsModal extends React.Component {
|
|||
/>
|
||||
</InputBlock>
|
||||
|
||||
<InputBlock label={"Style Renderer"} fieldSpec={{doc: "Choose the default Maputnik renderer for this style."}}>
|
||||
<InputBlock
|
||||
label={fieldSpecAdditional.maputnik.style_renderer.label}
|
||||
fieldSpec={fieldSpecAdditional.maputnik.style_renderer}
|
||||
>
|
||||
<SelectInput {...inputProps}
|
||||
data-wd-key="modal-settings.maputnik:renderer"
|
||||
options={[
|
||||
|
|
|
@ -12,6 +12,10 @@ const spec = {
|
|||
label: "Thunderforest Access Token",
|
||||
doc: "Public access token for Thunderforest services."
|
||||
},
|
||||
style_renderer: {
|
||||
label: "Style Renderer",
|
||||
doc: "Choose the default Maputnik renderer for this style.",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue