mirror of
https://github.com/maputnik/editor.git
synced 2026-07-29 17:27:28 +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>
|
||||||
|
|
||||||
<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}
|
<SelectInput {...inputProps}
|
||||||
data-wd-key="modal-settings.maputnik:renderer"
|
data-wd-key="modal-settings.maputnik:renderer"
|
||||||
options={[
|
options={[
|
||||||
|
|||||||
@@ -12,6 +12,10 @@ const spec = {
|
|||||||
label: "Thunderforest Access Token",
|
label: "Thunderforest Access Token",
|
||||||
doc: "Public access token for Thunderforest services."
|
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