Published using Google Docs
App instance options, apps, map portal, custom settings
Updated automatically every 5 minutes

Supported Options

App instance options

Option name

Value

Description

GISCLOUD_CONFIG

String - e.g. portal.json

Path to the custom app json file in the user folder

DEFAULT_LANGUAGE

String - en, nl, de, sw etc.

Setting default language

LOGIN_PAGE_ONLY

0 or 1

Show only login page if user is not logged in

LAYER_MODULE_BUTTONS_HIDE

0 or 1

Hide toolbar buttons in the layer list

DEFAULT_MAP_ID

Number - <map id>

Setting the default map to load on the beginning

TOOLBAR_ELEMENTS

String - e.g. search,togglemenu,layerlist,currentlocation,zoom,zoomin,zoomout,viewall,select,info,measure,selectarea,print,coordinates,streetview,scale

List of buttons separated with a “,”

UNIT_SRID

E.g. 3765

Set local SRID to have more precise area measuring

MEASURE_UNIT_DISTANCE

e.g.  ft,m,yard,mile

unit for distance measurement on measure tools

MEASURE_UNIT_AREA

e.g.  ft,m,acre,ha

unit for area measurement on measure tools

MEASURE_UNIT_PROJECTION

e.g. 3765

EPSG projection code for initial value on measure tools

LOGIN_PAGE_LOGO_URL

String - URL

URL to a custom logo on the login page

LOGIN_PAGE_LOGO_LINK

String - URL

Setting a custom logo link (on the login page) e.g. http://www.google.com

LOGO_LINK

String - URL

Setting a custom logo link (inside the app) e.g. http://www.giscloud.com

LOGIN_PAGE_HIDE_APP_TITLE

0 or 1

Hide the title of the map on the login page (under the app logo)

FORCE_INFO_WINDOW

0 or 1

Force to always use info window popup

SHOW_MAPS_FROM_OTHER_APPS

0 or 1

Add maps to a custom app instance

DISABLE_MY_ACCOUNT

0 or 1

Remove “My Account” link from the user menu. Used when you want to prevent your users from changing user credentials.

FORCE_INFO_WINDOW

0 (default) or 1

MODULE_DATAGRID

0 or 1

MODULE_SEARCH

0 or 1

MODULE_GOOGLE_SEARCH

0 or 1

Google map search control

MODULE_GISCLOUD_SEARCH

giscloud,google

Display GIS Cloud search, Google maps search or both

MODULE_LOGIN_BOX

0 or 1

Box for logging out, checking My Account, by default the value is 1

MODULE_SSO

0 or 1

Enable or disable social sso on the login box like google, facebook, linkedin and twitter.

GRAPHIC_SCALE

0 or 1

Show graphic scale inside the map viewer

ALLOW_USERS_REGISTRATION

0 or 1

Allow public registration

SIGN_UP_LINK

0 or 1

Setting a custom link which lead visitor to a signup page

REGISTRATION_SET_USER_OWNER

Number - <user id>

Setting parent user for all new registered users on the current app instance

REGISTRATION_REQUIRED_FIELDS

email,password,password2

REGISTRATION_NO_EMAILS

0 or 1

REGISTRATION_DEFAULT_USER_SUBSCRIPTION

Number - possible values are 10, 20, 25

Setting a default user subscription for new user

10 - Non commercial

20 - Commercial trial (30 days)

25 - Full commercial

REGISTRATION_SKIP_WELCOME_SCREEN

0(default) or 1

Skip welcome form on the first user login

SEARCH_RESULTS_CLOSE_ON_CLICK

0 or 1

Leave search results visible after click on the result

THEME_COLOR

Hex

CSS color definition for the main app theme, e.g. 0x20101

TEXT_EDITOR_THEME

String

List of all themes can be found here http://ace.c9.io/build/kitchen-sink.html 

COLUMN_RENDER

0 or 1

Experimental! Gives a way to define custom rendering method for each column in the layer form, attributes tab

LAYER_LIST_EXPAND_ALL

0 or 1

Expand all folders in the layer list by default

LAYER_LIST_OPEN

0 or 1

Show layer list by default

LAYER_LIST_WIDTH

Number (in pixels)

Sets minimum layer list width

BLOG_HIDE

0 or 1

Hide blog&video sections on the homepage

HOMEPAGE_MAPS

all,my,shared,public

Array string

HOMEPAGE_MAPS_ACTIVE

all,my,shared,public

String

RESOURCE_LINKING

0 or 1

EXPORT_MAP_SCALE

x1, x2, x3, 1000, 5000, 10000, ...

Predefined map scale on the map export

OPEN_LINKS_IN_NEW_WINDOW

0 or 1

Force to open all the attachments in the new window/tab.

DATAGRID_FILTER_BY_EXPRESSIONS

0 or 1

Show in the datagrid panel only values that match layer expressions (if defined).

SHOW_MAPS_FROM_OTHER_APPS

0 or 1

Enables use of available maps from other GC apps

CUSTOM_OIDC

{

  "provider": "<provider oidc url>",

  "flow": "authorization code|implicit",

  "client_id": "<client id registered with the provider>",

  "client_secret": "<optional client secret registered with the provider>"

}

Enables authentication with a custom OpenID Connect provider

MDC_FEATURE_INFO_TIMEOUT

Time in sec ( 60,90,120..)

Prolongs the loading feature time in mdc

User options

Same like app instance options list but user option have higher priority and allow you to override them.

MAP_<mapId>_LAYERS_STATES

{

  • 0: "id",
  • 1: "1785894",
  • resource_id: null,
  • name: "MAP_906444_LAYERS_STATES",
  • value: "{"2451230":{"v":false,"l":false,"o":false},"2451231":{"v":true,"l":false,"o":true},"3371692":{"v":false,"l":false,"o":false}}"

}

Customized visibility and transparency of map layers for non-map owners.

WFS_SCOPE_API_KEY

0 or 1

Hide or view WFS Api Key creation in the WFS tab (share or publish form)

TIME_RESTRICTED_LICENCE

0 or 1

Enables users to limit the time an assigned licence is available (start and end date).

**currently only for Asterra users

FLEET_ID

App ID (eg. 123456)

Adds users to a custom Track app

Full instructions for Track

FLEET_ENDPOINT

https://app123456.giscloud.com/rest/1/gpsdata/gpstrack

Defines endpoint for user tracking data. “App123456” should be replaced with the users app domain name.

TRACK_VERSION

1 or 2

Sets the default fleet version

MDC_FEATURE_INFO_SINGLE

0 or 1

0 - enables to scroll through multiple close features in MDC app

1 - shows only 1 feature in info popup

Layer options

Option name

Value

Description

GEOMETRY_TYPE

String

Override geometry layer type, e.g. for WFS layers

RELATIONS

Object

Experimental

E.g.

{"relations": [{"layer_id": 3772, "primary_key": "ogc_fid", "foreign_key": "branch_id", "foreign_key_type": "string"}, {"layer_id": 3775, "primary_key": "ogc_fid", "foreign_key": "branch_id"}]}

REPORT_FEATURE_TEMPLATE

String

Template Filename

More info at rep://giscloud-report-server/README.md

REPORT_FEATURE_TEMPLATE_NAME

String

More info at rep://giscloud-report-server/README.md

SUPPORT_INCOMPLETE_TILE_COVERAGE
(
new)

1

dynamically determines the maximum zoom level for each tile request - for TMS with a different number of zoom levels on certain tiles

Map options

Option name

Value

Description

DEFAULT_SELECTED_LAYER_ID

Number - <layer id>

Setting the default selected layer in the layer list

MAP_ENGINE_MODE

2

Experimental! Turn on optimized map rendering

SEARCH_FIELDS

See Description

ONLY WORKS FOR DB LAYERS!

Instruct the search engine to search inside specified layers and attributes

{"<layer_id>": ["<layer attribute>"], ...}

If attribute name is prefixed by @@, full text search will be performed instead of a normal (“LIKE”) matching. It has to be setup with request https://editor.giscloud.com/map/optimize_search?fields=<LAYER_ID>~<SEARCH_FIELDS, separated by ,>~<RESULTS_FIELDS separated by ,>&reinit=true&set_map_options=true

E.g.  {"448572": ["owner","tin","tinnospace","temp1"],"473741":["fullstreet"]}

LAYER_LIST_EXPAND_ALL

Expand all folders in the layer list by default

RESULT_FIELDS

See Description

What attributes will be shown inside a search results

{"<layer_id>": ["<layer attribute>"], ...}

E.g.  {"448572": ["owner","tin","tinnospace","temp1"],"473741":["fullstreet"]}

MEASURE_UNIT_PROJECTION

E.g. 3765

Defines default projection for Measurement tool

HIGHLIGHT_COLOR

E.g. 0xff0000

Defines color of selected features

DUPLICATE_LAYER_CHANGE_STYLE

0 or 1 (default value)

Preserve a layer style on duplicate or new layer from selection.

NEWSLETTER

skip

If ‘skip’ value is set user will receive any GIS Cloud newsletter

LABEL_ENGINE_MODE

2

Experimental! Render labels in an optimized way

MAP_AUTO_REFRESH_INTERVAL

Integer >1

Frequency of auto map refresh, in milliseconds

MAP_NO_AUTO_REFRESH

0 or 1

Prevent periodically refreshing map

REPORT_FEATURE_TEMPLATE_<LAYER_ID>

HTML template file

More info on how to setup PDF reports are on GC wiki.

GEOCODER_SERVICE

here

instalation

GEOCODING_HERE_CALLS

How many credits are used

GEOCODING_HERE_MAX

>1

Number of credits

Map Portal Setup

In order to setup map portal following steps need to be taken.

  1. Install new map portal app instance in the Manager, Apps tab
  2. Go to the app instance form of the newly created app, Edit button
  3. Under Advanced tab set option DEFAULT_MAP_ID - <any public map id>
  4. Another option to consider for tweaking look and feel

Custom menu on the map portal layout


App JSON

Example 1 - Including custom javascript scripts and CSS styling, templating

{

    "scripts": {

        "namespace": "gc",

        "init": [

            "assets/js/init.js"

        ],

        "app": [

            "assets/js/app.js"

        ],

        "setup": []

    },

    "styles": [

        "assets/css/style.css"

    ],

    "images": [],

    "html_tag_attributes": "xml:lang='en' lang='en'",

    "template_logout": "assets/html/landing.html",

    "template_login": "assets/html/body.html"

}

       

Example 2 - Custom menu

{

    "responsive": true,

    "sections": {

        "top": {

            "logo": {},

            "menu": {

                "items": [

                    {

                        "label_i18n": "Switch Map",

                        "href": "javascript:;",

                        "items": [

                            {

                                "label_i18n": "Find Your Space",

                                "onclick": "gcproject.mapChange(199540);"

                            },

                            {

                                "label_i18n": "Road Closure Application",

                                "onclick": "gcproject.mapChange(166950);"

                            },

                            {

                                "label_i18n": "City of Canton",

                                "onclick": "gcproject.mapChange(150872);"

                            }

                        ]

                    },

                    {

                        "label_i18n": "Export Map",

                        "onclick": "gcproject.exportMap();"

                    },

                    {

                        "label_i18n": "Export Layer",

                        "onclick": "gcapp.gclayer.exportLayer(); return false;"

                    }

                ]

            }

        }

    }

}

Example 3: Custom login page

{

    "scripts": {

        "namespace": "konzum",

        "init": ["assets/js/init.js"],

        "app": [

        ],

        "setup": []

    },

    "template_logout": "assets/html/landing.html",

    "styles": ["assets/css/style.css"],

    "images": ["assets/images/konzum_logo.png"],

    "responsive": true,

        "panels": [

        {

            "id": "panel1",

            "logged_in": true,

            "title": "Store filter",

            "position": "floating",

            "css": {"top": "100px"},

            "width": 250,

            "height": 340,

            "open": false,

            "draggable": true,

            "closeButton": true,

            "filters": {

                "240541": {

                    "layer_id": 676850,

                    "applyButton": true,

                    "items": [

                        {

                            "type": "DATA_FILTER_DROPDOWN",

                            "label": "Group",

                            "items": [

                                {"label": "No filter", "no_filter": true},

                                {"label": "Billa", "value": "BILLA"},

                                {"label": "Lidl", "value": "LIDL"},

                                {"label": "Kaufland", "value": "KAUFLAND"},

                                {"label": "Diona", "value": "DINOVA DIONA"},

                                {"label": "Mlinar", "value": "MLINAR"},

                                {"label": "Plodine", "value": "PLODINE"},

                                {"label": "Interspar", "value": "INTERSPAR"},

                                {"label": "Mercator", "value": "MERCATOR"},

                                {"label": "Tommy", "value": "tommy"}

                            ],

                            "column": "grupa"

                        },

                        {

                            "type": "DATA_FILTER_RANGE",

                            "null_value": -1,

                            "label": "Size",

                            "column": "m2",

                            "min": 0,

                            "max": 1000,

                            "style": ""

                        },

                        {

                            "type": "DATA_FILTER_FEATURES_NUMBER"

                        }

                    ]

                }

            }

        }

        ],

    "sections": {

        "top": {

            "logo": {},

            "menu": {

                "items" : [

                    {

                        "label_i18n": "Store filter",

                        "href": "javascript:;",

                        "onclick": "giscloud.app.panels[0].toggle();"

                    },

                   {

                        "label_i18n": "Spatial filter",

                        "href": "javascript:;",

                        "onclick": "gcanalysis.open(gcAnalysisType.SPATIAL_FILTER);"

                    },

                   {

                        "label_i18n": "Buffer",

                        "href": "javascript:;",

                        "onclick": "gcanalysis.open(gcAnalysisType.BUFFER);"

                    },

                       {

                        "label_i18n": "Share",

                        "href": "javascript:;",

                        "onclick": "gcproject.sharingAndPublishMap(true);"

                    },

                      {

                        "label_i18n": "Export map",

                        "href": "javascript:;",

                        "onclick": "gcproject.exportMap();"

                    }

                ]

            }

        }

    }

}

Example 4: Custom template

{

    "scripts": {

        "init": [],

        "app": ["assets/js/app.js"]

    },

    "template_login": "assets/html/body.html",

    "template_logout": "assets/html/landing.html",

    "styles": ["assets/css/style.css"],

    "images": [],

    "sections": {

        "top": {

            "logo": {},

            "menu": {

                "items" : [

                    {

                        "label_i18n": "Import",

                        "href": "javascript:;",

                        "onclick": "if (gcapp.checkAndWarnForLogin()) gcimport.importData(); return false;"

                    }

                ]

            }

        }

    }

}

Viewer json - new header

Novi viewer.json nakon dodavanja novog headera:

{

   "sections": {

       "top": {

           "ribbonmenu": {

               "default_tab": "{{default_tab}}",

               "tabs": [

                   {

                       "label_i18n": "Home",

                       "type": "hometab",

                       "id": "home_tab",

                       "icon_class": "gc-ribbon-16 fa fa-home",

                       "style": "min-width:70px",

                       "scope": ["PUBLIC", "LOGGED_IN"],

                       "elements": [

                           {

                               "type": "BTN24_LOG_IN"

                           },

                           {

                               "type": "BTN24_LOG_OUT"

                           }

                       ]

                   },

                   {

                       "label_i18n": "Map",

                       "id": "map_tab",

                       "scope": ["PUBLIC", "LOGGED_IN"],

                       "elements": [

                           {

                               "type": "RIBBON_TOOLBOX",

                               "scope": ["PUBLIC", "LOGGED_IN"],

                               "class": "first",

                               "elements": [

                                   {

                                       "type": "BTN32_MAP_REFRESH"

                                   },

                                   {

                                       "type": "BTN32_MAP_EXPORT",

                    "scope": ["PUBLIC", "LOGGED_IN"]

                                   },

                                   {

                                       "type": "BTN32_LAYER_EXPORT",

                    "scope": ["PUBLIC", "LOGGED_IN"]

                                   },

                                   {

                                       "type": "BTN32_LAYER_REPORT",

                    "scope": ["PUBLIC", "LOGGED_IN"]

                                   },

                   {

                                       "type": "BTN32_SPATIAL_SELECTION"

                                   }

                               ]

                           },

               {

                               "type": "RIBBON_TOOLBOX",

                               "class": "divider2",

                               "scope": ["LOGGED_IN"],

                               "elements": [

                                   {

                                       "type": "BTN16_LAYER_ZOOM_TO"

                                   }

                               ]

                           },

                           {

                               "type": "RIBBON_TOOLBOX",

                               "scope": ["PUBLIC", "LOGGED_IN"],

                               "class": "divider2",

                               "elements": [

                                   {

                                       "type": "BTN32_BOOKMARKS"

                                   }

                               ]

                           }

                       ]

                   }

               ]

           },

           "newheader": {

               "appName": "Viewer",

               "tabs":[

                  {

                     "label_i18n":"Home",

                     "id":"home_tab",

                     "icon_class":"fa fa-home"

                  },

                  {

                     "label_i18n":"Map",

                     "id":"map_tab",

                     "elements":[

                        {

                           "elements":[

                              {

                                 "type":"BTN_MAP_REFRESH"

                              },

                              {

                                 "type":"BTN_MAP_EXPORT"

                              },

                              {

                                 "type":"BTN_LAYER_EXPORT"

                              }

                           ]

                        },

                        {

                           "elements":[

                              {

                                 "type":"BTN_LAYER_ZOOM_TO"

                              }

                           ]

                        },

                        {

                           "elements":[

                              {

                                 "type":"BTN_LAYER_REPORT"

                              }

                           ]

                        },

                        {

                           "elements":[

                              {

                                 "type":"BTN_SPATIAL_SELECTION"

                              }

                           ]

                        },

                        {

                           "elements":[

                              {

                                 "type":"BTN_BOOKMARKS"

                              }

                           ]

                        }

                     ]

                  }

               ]

           },

           "elements": [

               {

                   "type": "login",

                   "menu": []

               },

               {

                   "type": "logo",

                   "url": ""

               }

           ]

       },

       "main": {

           "panels": [

               {

                   "module": "map",

                   "toolbar": [

                       {

                           "type": "button16",

                           "title": "Pan",

                           "icon": "png"

                       }

                   ]

               }

           ]

       },

       "left": {

           "panels": [

               {

                   "module": "layerlist"

               }

           ]

       },

       "right": {

           "tabs": [

               {

                   "module": "info",

                   "options": {}

               },

               {

                   "module": "search",

                   "options": {}

               }

           ]

       }

   }

}

                                                         

Editor json - new header

Editor JSON nakon dodavanja novog headera:

                                                             

{

   "sections": {

       "top": {

           "ribbonmenu": {

               "default_tab": "{{default_tab}}",

               "tabs": [

                   {

                       "label_i18n": "Home",

                       "type": "hometab",

                       "id": "home_tab",

                       "icon_class": "gc-ribbon-16 fa fa-home",

                       "style": "",

                       "scope": ["PUBLIC", "LOGGED_IN"],

                       "elements": [

                           {

                               "type": "BTN24_MAP_CREATE"

                           },

                           {

                               "type": "BTN24_LOG_OUT"

                           }

                       ]

                   },

                   {

                       "label_i18n": "Map",

                       "id": "map_tab",

                       "scope": ["PUBLIC", "LOGGED_IN"],

                       "elements": [

                           {

                               "type": "RIBBON_TOOLBOX",

                               "class": "first",

                               "scope": ["PUBLIC", "LOGGED_IN"],

                               "elements": [

                                   {

                                       "type": "BTN32_MAP_NEW"

                                   },

                                   {

                                       "type": "BTN32_MAP_PROPERTIES"

                                   },

                                   {

                                       "type": "BTN32_MAP_REFRESH"

                                   }

                               ]

                           },

                           {

                               "type": "RIBBON_TOOLBOX",

                               "class": "divider2",

                               "scope": ["PUBLIC", "LOGGED_IN"],

                               "elements": [

                                   {

                                       "type": "BTN16_MAP_DUPLICATE"

                                   },

                                   {

                                       "type": "BTN16_MAP_DELETE"

                                   }

                               ]

                           },

                           {

                               "type": "RIBBON_TOOLBOX",

                               "scope": ["PUBLIC", "LOGGED_IN"],

                               "class": "divider2",

                               "elements": [

                                   {

                                       "type": "BTN32_LAYER_ADD"

                                   },

                                   {

                                       "type": "BTN32_LAYER_IMPORT"

                                   }

                               ]

                           },

                           {

                               "type": "RIBBON_TOOLBOX",

                               "scope": ["PUBLIC", "LOGGED_IN"],

                               "class": "divider2",

                               "elements": [

                                   {

                                       "type": "BTN32_SHARE_AND_PUBLISH"

                                   },

                                   {

                                       "type": "BTN32_MAP_EXPORT"

                                   }

                               ]

                           },

                           {

                               "type": "RIBBON_TOOLBOX",

                               "scope": ["PUBLIC", "LOGGED_IN"],

                               "class": "",

                               "elements": [

                                   {

                                       "type": "RIBBON_SEPARATOR",

                                       "scope": ["PUBLIC", "LOGGED_IN"]

                                   },

                                   {

                                       "type": "BTN32_BOOKMARKS"

                                   }

                               ]

                           }

                       ]

                   },

                   {

                       "label_i18n": "Layer",

                       "id": "layer_tab",

                       "scope": ["PUBLIC", "LOGGED_IN"],

                       "elements": [

                           {

                               "type": "RIBBON_TOOLBOX",

                               "class": "first",

                               "scope": ["PUBLIC", "LOGGED_IN"],

                               "elements": [

                                   {

                                       "type": "BTN32_LAYER_ADD"

                                   },

                                   {

                                       "type": "BTN32_LAYER_EDIT"

                                   },

                                   {

                                       "type": "BTN32_LAYER_DATASOURCE_SHARE"

                                   }

                               ]

                           },

                           {

                               "type": "RIBBON_TOOLBOX",

                               "class": "divider2",

                               "scope": ["PUBLIC", "LOGGED_IN"],

                               "elements": [

                                   {

                                       "type": "BTN16_LAYER_DUPLICATE"

                                   },

                                   {

                                       "type": "BTN16_LAYER_DELETE"

                                   }

                               ]

                           },

                           {

                               "type": "RIBBON_TOOLBOX",

                               "class": "divider2",

                               "scope": ["PUBLIC", "LOGGED_IN"],

                               "elements": [

                                   {

                                       "type": "BTN16_LAYER_ZOOM_TO"

                                   },

                                   {

                                       "type": "BTN16_LAYER_SELECT_ALL"

                                   }

                               ]

                           },

                           {

                               "type": "RIBBON_TOOLBOX",

                               "class": "divider2",

                               "scope": ["PUBLIC", "LOGGED_IN"],

                               "elements": [

                                   {

                                       "type": "BTN32_LAYER_IMPORT"

                                   },

                                   {

                                       "type": "BTN32_LAYER_EXPORT"

                                   },

                                   {

                                       "type": "BTN32_LAYER_REPORT"

                                   },

                                   {

                                       "type": "BTN32_CUSTOM_REPORT"

                                   }

                               ]

                           }

                       ]

                   },

                   {

                       "label_i18n": "Feature",

                       "id": "edit_tab",

                       "scope": ["PUBLIC", "LOGGED_IN"],

                       "elements": [

                           {

                               "type": "RIBBON_TOOLBOX",

                               "class": "first",

                               "scope": ["PUBLIC", "LOGGED_IN"],

                               "elements": [

                                   {

                                       "type": "BTN32_FEATURE_EDIT"

                                   },

                                   {

                                       "type": "BTN32_FEATURE_ADD"

                                   },

                                   {

                                       "type": "BTN32_FEATURE_DELETE"

                                   }

                               ]

                           },

                           {

                               "type": "RIBBON_TOOLBOX",

                               "class": "divider2",

                               "scope": ["PUBLIC", "LOGGED_IN"],

                               "elements": [

                                   {

                                       "type": "BTN32_FEATURE_CLONE"

                                   },

                                   {

                                       "type": "BTN32_FEATURE_MERGE_TOOL"

                                   }

                               ]

                           },

                           {

                               "type": "RIBBON_TOOLBOX",

                               "class": "divider2",

                               "scope": ["PUBLIC", "LOGGED_IN"],

                               "elements": [

                                   {

                                       "type": "BTN32_SPATIAL_SELECTION"

                                   }

                               ]

                           },

                           {

                               "type": "RIBBON_TOOLBOX",

                               "class": "divider2",

                               "scope": ["PUBLIC", "LOGGED_IN"],

                               "elements": [

                                   {

                                       "type": "BTN16_SELECTION_INVERT"

                                   },

                                   {

                                       "type": "BTN16_SELECTION_CLEAR"

                                   },

                                   {

                                       "type": "BTN16_ANALYSIS_SPATIAL_FILTER"

                                   }

                               ]

                           },

                           {

                               "type": "RIBBON_TOOLBOX",

                               "class": "divider2",

                               "scope": ["PUBLIC", "LOGGED_IN"],

                               "elements": [

                                   {

                                       "type": "BTN32_SELECTION_TO_NEW_LAYER"

                                   }                                ]

                           },

                           {

                               "type": "RIBBON_TOOLBOX",

                               "class": "divider2",

                               "scope": ["PUBLIC", "LOGGED_IN"],

                               "elements": [

                                   {

                                       "type": "BTN16_SELECTION_EMAIL"

                                   }

                               ]

                           }

                       ]

                   },

                   {

                       "label_i18n": "Analysis",

                       "id": "analysis_tab",

                       "scope": ["PUBLIC", "LOGGED_IN"],

                       "elements": [

                           {

                               "type": "RIBBON_TOOLBOX",

                               "class": "first",

                               "scope": ["PUBLIC", "LOGGED_IN"],

                               "elements": [

                                   {

                                       "type": "BTN16_ANALYSIS_AREA"

                                   },

                                   {

                                       "type": "BTN16_ANALYSIS_HOTSPOT"

                                   }

                               ]

                           },

                           {

                               "type": "RIBBON_TOOLBOX",

                               "class": "divider2",

                               "scope": ["PUBLIC", "LOGGED_IN"],

                               "elements": [

                                   {

                                       "type": "BTN16_ANALYSIS_BUFFER"

                                   },

                                   {

                                       "type": "BTN16_ANALYSIS_NEAR"

                                   }

                               ]

                           }

                       ]

                   },

                   {

                       "label_i18n": "Tools",

                       "id": "tools_tab",

                       "scope": ["PUBLIC", "LOGGED_IN"],

                       "elements": [

                           {

                               "type": "RIBBON_TOOLBOX",

                               "class": "first",

                               "scope": ["PUBLIC", "LOGGED_IN"],

                               "elements": [

                                   {

                                       "type": "BTN32_FILE_MANAGER"

                                   },

                                   {

                                       "type": "BTN32_DATABASE_MANAGER"

                                   },

                                   {

                                       "type": "BTN32_DATASOURCE_MANAGER"

                                   },

                                   {

                                       "type": "BTN32_FORMS_MANAGER"

                                   },

                                   {

                                       "type": "RIBBON_SEPARATOR"

                                   },

                                   {

                                       "type": "BTN32_PROJECTION_WIZARD"

                                   },

                                   {

                                       "type": "BTN32_MERGE_WIZARD"

                                   },

                                   {

                                       "type": "RIBBON_SEPARATOR"

                                   },

                                   {

                                       "type": "BTN32_GEOCODER"

                                   }

                               ]

                           }

                       ]

                   }

               ]

           },

           "newheader": {

               "appName": "Editor",

               "tabs":[

                  {

                     "label_i18n":"Home",

                     "id":"home_tab",

                     "icon_class":"fa fa-home"

                  },

                  {

                     "label_i18n":"Map",

                     "id":"map_tab",

                     "elements":[

                        {

                           "elements":[

                              {

                                 "type":"BTN_MAP_NEW"

                              },

                              {

                                 "type":"BTN_MAP_PROPERTIES"

                              },

                              {

                                 "type":"BTN_MAP_REFRESH"

                              }

                           ]

                        },

                        {

                           "elements":[

                              {

                                 "type":"BTN_MAP_DUPLICATE"

                              },

                              {

                                 "type":"BTN_MAP_DELETE"

                              }

                           ]

                        },

                        {

                           "elements":[

                              {

                                 "type":"BTN_LAYER_ADD"

                              },

                              {

                                 "type":"BTN_LAYER_IMPORT"

                              }

                           ]

                        },

                        {

                           "elements":[

                              {

                                 "type":"BTN_SHARE_AND_PUBLISH"

                              },

                              {

                                 "type":"BTN_MAP_EXPORT"

                              }

                           ]

                        },

                        {

                           "elements":[

                              {

                                 "type":"BTN_BOOKMARKS"

                              }

                           ]

                        }

                     ]

                  },

                  {

                     "label_i18n":"Layer",

                     "id":"layer_tab",

                     "elements":[

                        {

                           "elements":[

                              {

                                 "type":"BTN_LAYER_ADD"

                              },

                              {

                                 "type":"BTN_LAYER_EDIT"

                              },

                              {

                                 "type":"BTN_LAYER_DATASOURCE_SHARE"

                              }

                           ]

                        },

                        {

                           "elements":[

                              {

                                 "type":"BTN_LAYER_DUPLICATE"

                              },

                              {

                                 "type":"BTN_LAYER_DELETE"

                              }

                           ]

                        },

                        {

                           "elements":[

                              {

                                 "type":"BTN_LAYER_ZOOM_TO"

                              },

                              {

                                 "type":"BTN_LAYER_SELECT_ALL"

                              }

                           ]

                        },

                        {

                           "elements":[

                              {

                                 "type":"BTN_LAYER_IMPORT"

                              },

                              {

                                 "type":"BTN_LAYER_EXPORT"

                              },

                              {

                                 "type":"BTN_LAYER_REPORT"

                              }

                           ]

                        }

                     ]

                  },

                  {

                     "label_i18n":"Feature",

                     "id":"edit_tab",

                     "elements":[

                        {

                           "elements":[

                              {

                                 "type":"BTN_FEATURE_ADD"

                              },

                              {

                                 "type":"BTN_FEATURE_EDIT"

                              },

                              {

                                 "type":"BTN_FEATURE_DELETE"

                              }

                           ]

                        },

                        {

                           "elements":[

                              {

                                 "type":"BTN_FEATURE_CLONE"

                              },

                              {

                                 "type":"BTN_FEATURE_MERGE_TOOL"

                              }

                           ]

                        },

                        {

                           "elements":[

                              {

                                 "type":"BTN_SPATIAL_SELECTION_TOOLS"

                              }

                           ]

                        },

                        {

                           "elements":[

                              {

                                 "type":"BTN_SPATIAL_SELECTION"

                              }

                           ]

                        },

                        {

                           "elements":[

                              {

                                 "type":"BTN_ANALYSIS_SPATIAL_FILTER"

                              }

                           ]

                        }

                     ]

                  },

                  {

                     "label_i18n":"Analysis",

                     "id":"analysis_tab",

                     "elements":[

                        {

                           "elements":[

                              {

                                 "type":"BTN_ANALYSIS_AREA"

                              },

                              {

                                 "type":"BTN_ANALYSIS_HOTSPOT"

                              }

                           ]

                        },

                        {

                           "elements":[

                              {

                                 "type":"BTN_ANALYSIS_BUFFER"

                              },

                              {

                                 "type":"BTN_ANALYSIS_NEAR"

                              }

                           ]

                        }

                     ]

                  },

                  {

                     "label_i18n":"Tools",

                     "id":"tools_tab",

                     "elements":[

                        {

                           "elements":[

                              {

                                 "type":"BTN_FILE_MANAGER"

                              },

                              {

                                 "type":"BTN_DATABASE_MANAGER"

                              },

                              {

                                 "type":"BTN_DATASOURCE_MANAGER"

                              },

                              {

                                 "type":"BTN_FORMS_MANAGER"

                              }

                           ]

                        },

                        {

                           "elements":[

                              {

                                 "type":"BTN_PROJECTION_WIZARD"

                              },

                              {

                                 "type":"BTN_MERGE_WIZARD"

                              }

                           ]

                        },

                        {

                           "elements":[

                              {

                                 "type":"BTN_GEOCODER"

                              }

                           ]

                        }

                     ]

                  }

               ]

           },

           "elements": [

               {

                   "type": "login",

                   "menu": []

               },

               {

                   "type": "logo",

                   "url": ""

               }

           ]

       },

       "main": {

           "panels": [

               {

                   "module": "map",

                   "toolbar": [

                       {

                           "type": "button16",

                           "title": "Pan",

                           "icon": "png"

                       }

                   ]

               }

           ]

       },

       "left": {

           "panels": [

               {

                   "module": "layerlist",

                   "toolbar": [

                       {

                           "type": "button16",

                           "title": "Pan",

                           "icon": "png"

                       }

                   ]

               }

           ]

       },

       "right": {

           "tabs": [

               {

                   "module": "info",

                   "options": {}

               },

               {

                   "module": "search",

                   "options": {}

               }

           ]

       }

   }

}