Fei_Xian_Lin_Ye_Fang_Huo/public/config/widget.json

248 lines
5.1 KiB
JSON

{
"version": "20210105",
"defaultOptions": {
"style": "dark",
"windowOptions": {
"skin": "layer-mars-dialog animation-scale-up",
"position": {
"top": 50,
"right": 10
},
"maxmin": false,
"resize": true
},
"autoReset": false,
"autoDisable": true,
"disableOther": true
},
"openAtStart": [
{
"name": "右上角工具栏",
"uri": "widgets/toolBarRight/widget.js",
"css": {
"top": "70px",
"left": "auto",
"width":"174px",
"right": "500px"
}
},
{
"name": "放大缩小按钮",
"uri": "widgets/toolButton/zoom.js"
}
],
"widgets": [
{
"name": "模板-iframe弹窗",
"uri": "widgets/_example/widget.js",
"windowOptions": {
"width": 300,
"height": 400,
"position": {
"bottom": 10,
"right": 10
},
"maxmin": true,
"resize": true
},
"autoDisable": false,
"disableOther": false,
"openAtStart": false
},
{
"name": "模板-div弹窗",
"uri": "widgets/_example_divwin/widget.js"
},
{
"name": "模板-2个弹窗",
"uri": "widgets/_example_2win/widget.js"
},
{
"name": "模板-append模板",
"uri": "widgets/_example_append/widget.js"
},
{
"name": "地图切换",
"uri": "widgets/manageBasemaps/widget.js",
"group": "forlayer",
"autoDisable": false,
"disableOther": false
},
{
"name": "图层管理",
"uri": "widgets/manageLayers/widget.js",
"group": "forlayer",
"autoCenter": true,
"windowOptions": {
"position": {
"top": 220,
"bottom": 50,
"left": 452
}
},
"css": {
"max-width": "300px"
},
"autoDisable": false,
"disableOther": false
},
{
"name": "剖面分析图表",
"uri": "widgets/measureChars/widget.js",
"windowOptions": {
"noTitle": true,
"position": {
"bottom": 30,
"left": 30,
"right": 60
}
},
"disableOther": false
},
{
"name": "视角书签",
"uri": "widgets/bookmark/widget.js",
"windowOptions": {
"position": {
"top": 50,
"bottom": 30,
"right": 10
}
}
},
{
"name": "漫游路线设置",
"uri": "widgets/roamLine/widget.js",
"windowOptions": {
"position": {
"top": 45,
"bottom": 30,
"right": 5
}
}
},
{
"name": "漫游路线",
"uri": "widgets/roamFly/widget.js",
"windowOptions": {
"position": {
"bottom": 60,
"right": 5
}
}
},
{
"name": "路线剖面",
"uri": "widgets/roamChars/widget.js",
"windowOptions": {
"noTitle": true,
"position": {
"top": 10,
"left": 10,
"right": 10
}
},
"disableOther": false
},
{
"name": "卷帘对比",
"uri": "widgets/mapSwipe/widget.js",
"group": "mapCompare",
"autoDisable": false,
"disableOther": false
},
{
"name": "双屏对比",
"uri": "widgets/mapCompare/widget.js",
"autoDisable": false,
"disableOther": false,
"group": "mapCompare",
"windowOptions": {
"position": {
"top": 160,
"bottom": 40,
"left": 10
},
"maxmin": true
}
},
{
"name": "百度街景",
"uri": "widgets/streetscape/widget.js",
"autoDisable": false,
"disableOther": false,
"group": "mapCompare",
"windowOptions": {
"position": {
"top": 160,
"bottom": 40,
"left": 10
},
"maxmin": true
}
},
{
"name": "标绘",
"uri": "widgets/plot/widget.js",
"windowOptions": {
"position": {
"top": 45,
"bottom": 30,
"right": 5
}
},
"openAtStart": false
},
{
"name": "模型库",
"uri": "widgets/plot-model/widget.js",
"windowOptions": {
"position": {
"top": 45,
"bottom": 30,
"right": 5
}
}
},
{
"name": "分组名称编辑",
"uri": "widgets/plotGroupName/widget.js",
"windowOptions": {
"position": "t"
},
"disableOther": false
},
{
"name": "属性编辑",
"uri": "widgets/plotAttr/widget.js",
"windowOptions": {
"position": {
"top": 60,
"bottom": 30,
"left": 10
}
},
"disableOther": false
},
{
"name": "路线导航",
"uri": "widgets/queryRoute/widget.js",
"windowOptions": {
"position": {
"top": 45,
"bottom": 30,
"right": 5
}
}
},
{
"name": "打印",
"uri": "widgets/print/widget.js",
"autoDisable": false,
"disableOther": false
}
]
}