Replies: 3 comments
-
Feedback from @spencerwahl
I think the config store should be handling all the config init/defaulting/etc. So RAMP would get its first (or a new) config, the store's 'setConfig' gets called, it fills out the config with defaults and then stores it. Config snippets can come in at a later time and the store will update its info (and anything bound to it will automatically have the new config stuff). If the store is passed another whole config, it will default and overwrite it?
I think I remember talking about making it so that different language configs get loaded when they're needed, and the language in the config can dictate the language of ramp? In this case config switching dictates the language switch. The other option is the language switch dictating a config switch, where we'd need to store multiple configs. [the group then decided to make a new design item for languages and configs] |
Beta Was this translation helpful? Give feedback.
-
Feedback from me For WFS layers, I'm going to dredge up a thing from other discussions that never seemed to get resolved (see ramp4-pcar4/r4design#15 ). We have our config saying "the layer type is WFS" but in reality the layer type is Feature Layer, and the source is a WFS. When we load from a file, we specify Feature Layer and provide a |
Beta Was this translation helpful? Give feedback.
-
3 Year Update: The config schema is fairly locked down now, so just consult the The layer type comments above were resolved here #338 (comment) Language stuff can be read more on here: #513 , #343 , but I believe one of the primary solutions was to adopt an overarching config structure that could contain sub-configs keyed by a specific language. |
Beta Was this translation helpful? Give feedback.
-
Guts by @yileifeng
Language
Version
UI (rename/remove?)
Fixtures
Legend
Entry Group
Entry
Visibility Set
Info Section
Table
Table Node
Column Node
Filter Node
Appbar
Navbar
Geosearch
Details
Layers
GeoApi
Layer Node
Dynamic Layer Node
Feature Layer Node
GeoApi
)WMS Layer Node
WFS Layer Node
File Layer Node
Map
Tile Schema Node
Lod Set Node
GeoApi
Extent Set Node
GeoApi
Basemap Node
GeoApi
Services
Export
NOTE: Real schema will have default values for most properties
Sample Config Snippet
Questions
Beta Was this translation helpful? Give feedback.
All reactions