mirror of
https://github.com/maputnik/editor.git
synced 2026-01-09 15:00:01 +00:00
Added style_renderer to field-spec-additional
This commit is contained in:
@@ -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.",
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user