{ "name": "map3d-building", "version": "1.0.1", "description": "map3d子组件", "main": "index.js", "scripts": { "build": "cube build ./ --output=../../datavComponent --remote=pandav --smart" }, "keywords": [ "map", "subcoms" ], "dependencies": { "eventemitter3": "3.0.0", "safely-merge": "1.0.1", "lodash": "4.17.11" }, "pandav": { "cn_name": "城市建筑", "level": 1, "protocol": 2, "type": [ "Map3d-v1_subcoms_building" ], "parent": { "supportTypes": [ "Map3d-v1" ], "supportNames": [] }, "publicHandler": {}, "events": {}, "api_data": { "source": [ { "name": "裕华区", "data": "https://civgis.panda-water.cn/建筑白膜/榆林/tileset.json" } ] }, "apis": { "source": { "description": "数据接口", "handler": "render", "fields": { "name": { "description": "状态名" }, "data": { "description": "线路径坐标,geojson形式" } } } }, "config": { "statusConfig": { "name": "状态", "type": "array", "fold": false, "default": [ { "name": "裕华区", "showCustomShader": true, "color": "#000000", "baseHeight": -10, "alpha": 0.5, "heightRange": 45, "glowRange": 180, "showLight": true } ], "child": { "type": "object", "name": "状态<%=i+1%>", "child": { "name": { "name": "状态名", "type": "text", "default": "" }, "showCustomShader": { "name": "启用特效", "type": "boolean", "default": true }, "color": { "name": "颜色", "type": "color", "default": "#000000", "show": [ [ "showCustomShader", "$eq", true ] ] }, "baseHeight": { "name": "基础高度", "type": "number", "default": -10, "show": [ [ "showCustomShader", "$eq", true ] ] }, "alpha": { "name": "透明度", "type": "number", "max": 1, "min": 0, "default": 0.5, "show": [ [ "showCustomShader", "$eq", true ] ] }, "heightRange": { "name": "高度", "type": "number", "default": 45, "show": [ [ "showCustomShader", "$eq", true ] ] }, "glowRange": { "name": "光环移动", "type": "number", "default": 180, "show": [ [ "showCustomShader", "$eq", true ] ] }, "showLight": { "name": "启用光环", "type": "boolean", "default": true, "show": [ [ "showCustomShader", "$eq", true ] ] } } } } } } }