Skip to content Skip to main navigation Skip to footer

Map Editor JSON

{
    "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"
                                    }
                                ]
                            }

                        ]
                    },


                    {
                        "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"
                                    }

                                ]
                            }
                        ]
                    }

                ]
            },
            "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": {}
                }
            ]
        }
    }
}

Was This Article Helpful?