georchestra/georchestra — pull request #262 by fgravin (2013-09-03 13:02:32+00:00)
Title: Addon can be loaded by default according to its configuration

If an addon is preloaded:true in its configuration, then the addon is loaded by default on mapfishapp loads except if the user has checked the checkbox *"remember my decision"* in addons list window. In that case, the user preferences overload this default parameter.

Exemple :

ADDONS: [{
"id": "magnifier_0", // unique & stable string identifier for this addon instance
"name": "Magnifier",
"preloaded": "true",
"title": {
"en": "Aerial imagery magnifier",
"es": "Lupa ortofoto",
"fr": "Loupe orthophoto"
},
"description": {
"en": "A tool which allows to zoom in an aerial image on a map portion",
"es": "Una herramienta que permite hacer un zoom sobre una parte del mapa ortofoto",
"fr": "Un outil qui permet de zoomer dans une orthophoto sur une portion de la carte"
}
}]