Skip to content

Ansyn configuration

Tzahi Levi edited this page Jun 20, 2019 · 2 revisions

With the ansyn config we can change the look of our app and some of the logic

The config object

{
"casesConfig": {
    "defaultCase": see defaultCase config
},
"layersManagerConfig": {
    "scheme": define if the app loads the static layers
},
"overlaysConfig": {
    "limit": the maximum number of overlays to fetch,
    "sourceTypeNotice": {
        "Source_Name": {
            "Default": optionally supply a title to show when open overlay from source_name,
            "sensor_name": optionally supply a title to show when open overlay from sensor_name and source_name
        }
     }
},
"mapFacadeConfig":see MapFacadeConfig,
"filtersConfig": {
    "shortFilterListLength": number of items before you need to click show more,
    filters: list of filter object
},
"coreConfig": {
    "translation": {
        "default": dictionary of word to translate on the app
    },
    "isFooterCollapsible": if true the status bar could be minimize,
    "enable3D": if true a cesium map be active.
},
"menuConfig": {
    "path": path for your app logo,
    "color": text color for mode if exist,
    "background": background color for mode if exist ,
    "mode": string to be shown above the github icon,
    "forkMe":{
        "href": link for your github repo
    }
}
}

default case config

map facade config

filter object