{ "name": "map3d-model", "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": "模型", "icon": "https:///assets.easyv.cloud/thumb/ea6dbbba-f7db-4aca-a7e4-57608896e04a.gif", "level": 1, "protocol": 2, "type": [ "Map3d-v1_subcoms_model" ], "parent": { "supportTypes": [ "Map3d-v1" ], "supportNames": [] }, "publicHandler": {}, "events": {}, "api_data": { "source": [] }, "apis": { "source": { "description": "数据接口", "handler": "render", "fields": { "name": { "description": "状态名" }, "data": { "description": "模型坐标" } } } }, "config": { "options": { "type": "menu", "children": { "basicConfig": { "name": "基础配置", "type": "menuChild", "mode": "single", "children": { "url": { "name": "地址", "type": "text", "default": "https://civgis.panda-water.cn/建筑白膜/确山水厂/水厂.glb", "description": "模型采用线上地址" }, "position": { "name": "位置", "type": "group", "children": { "lng": { "name": "经度", "suffix": "°", "default": 109.747192, "type": "number" }, "lat": { "name": "纬度", "suffix": "°", "default": 38.233071, "type": "number" }, "height": { "name": "高度", "suffix": "°", "default": 0, "type": "number" } } }, "orientation": { "name": "方向", "type": "group", "children": { "heading": { "name": "方向角", "suffix": "°", "default": 160, "type": "number" }, "pitch": { "name": "俯仰角", "suffix": "°", "default": 0, "type": "number" }, "roll": { "name": "滚转角", "suffix": "°", "default": 0, "type": "number" } } } } }, "styleConfig": { "name": "样式配置", "type": "menuChild", "mode": "single", "children": { "scale": { "name": "线性比例", "default": 3, "type": "number" }, "minimumPixelSize": { "name": "模型像素", "default": 0, "suffix": "px", "type": "number" }, "runAnimations": { "name": "运行glTF动画", "type": "switch", "default": true, "statusText": true }, "silhouetteColor": { "name": "轮廓颜色", "type": "color", "default": "#ffffff" }, "silhouetteSize": { "name": "轮廓大小", "default": 0, "suffix": "px", "type": "number" }, "distanceDisplayCondition": { "name": "显示距离", "type": "suite", "children": { "minZoom": { "col": 12, "name": "最小高度", "type": "number", "default": 0, "min": 0 }, "maxZoom": { "col": 12, "name": "最大高度", "type": "number", "default": 100000 } } } } } } } } } }