三维可视化场景基础数据获取

map对象常用属性

map.themeName         // 获取三维场景主题名称
        
map.rotateAngle       // 获取当前三维场景方向角度

map.tiltAngle         // 获取当前三维场景俯仰角度

map.zoomLevel         // 获取当前缩放等级0-23

map.showCompass       // 获取当前是否显示指北针

map.showScaler        // 获取当前是否显示三维场景比例尺

map.Name              // 获取三维场景名称

map.maxX              // 三维场景范围最大X值

map.maxY              // 三维场景范围最大Y值

map.center            // 三维场景中心点坐标

map.viewCenter        // 当前视野三维场景中心点坐标

map.watchingOpens     // 当前三维场景绑定的室内建筑(城市三维场景模式)

Tips: 更多属性在map对象中进行查看

Tips: 部分属性需要在loadComplete事件后获取

esmap.ESNodeType三维场景组件类型

esmap.ESNodeType = {
    ALL: 65535,           // 所有模型
    CARD_MARKER: 34,      // 卡片标注
    ELEMENT: 100,         // 元素
    FACILITY: 11,         // 三维场景POI
    FLOOR: 4,             // 地板
    IMAGE_MARKER: 31,     // 图片标注
    LABEL: 12,            // 标签
    LINE: 21,             // 线
    LOCATION_MARKER: 33,  // 定位标注
    MODEL: 5,             // 房间模型
    MODEL3D: 6,           // 3D模型
    MODEL_IMAGE: 7,       // 图片模型
    NONE: 0,              // 无模型
    POLYGON_MARKER: 100,  // 多边形标注
    POP_MARKER: 41,       // 气泡模型
    TEXT_MARKER: 32,      // 文字标注
    WEBVIEW_MARKER: 40    // 内嵌页面标注
}

Tips: 每个元素都带有nodeType属性,具体值可以在元素的nodeType属性上查看

房间模型和3D模型的typeID对照表 typeID用于区分业务类型,用户可在三维场景编辑器里配置

typeForm: [
    {
        typeID: '40003',
        typename: '室外停车场'
    },
    {
        typeID: '40004',
        typename: '室内停车场'
    },
    {
        typeID: '10005',
        typename: '楼梯'
    },
    {
        typeID: '40002',
        typename: '停车场'
    },
    {
        typeID: '70020',
        typename: '家居'
    },
    {
        typeID: '0',
        typename: '其它'
    },
    {
        typeID: '120005',
        typename: '室内道路'
    },
    {
        typeID: '9996',
        typename: '门'
    },
    {
        typeID: '9997',
        typename: '窗'
    },
    {
        typeID: '9995',
        typename: '柱子'
    },
    {
        typeID: '9998',
        typename: '栏杆'
    },
    {
        typeID: '9999',
        typename: '墙'
    },
    {
        typeID: '70003',
        typename: '购物'
    },
    {
        typeID: '70001',
        typename: '餐饮'
    },

    {
        typeID: '20001',
        typename: '卫生间'
    },
    {
        typeID: '20002',
        typename: '男卫生间'
    },
    {
        typeID: '20003',
        typename: '女卫生间'
    },
    {
        typeID: '20004',
        typename: '母婴室'
    },
    {
        typeID: '10003',
        typename: '直升电梯'
    },
    {
        typeID: '20005',
        typename: '残疾人卫生间'
    },
    {
        typeID: '10004',
        typename: '自动扶梯'
    },
    {
        typeID: '20007',
        typename: '更衣室'
    },
    {
        typeID: '20006',
        typename: '洗手处'
    },
    {
        typeID: '30001',
        typename: 'VIP室'
    },
    {
        typeID: '30002',
        typename: '吸烟室'
    },
    {
        typeID: '30003',
        typename: '休息区'
    },
    {
        typeID: '30004',
        typename: '饮水处'
    },
    {
        typeID: '30005',
        typename: '供应热水'
    },
    {
        typeID: '30006',
        typename: '问询服务'
    },
    {
        typeID: '30007',
        typename: '医务室'
    },
    {
        typeID: '30009',
        typename: '行李查询'
    },
    {
        typeID: '30010',
        typename: '行李寄存'
    },
    {
        typeID: '30011',
        typename: '行李搬运'
    },
    {
        typeID: '30012',
        typename: '行李托运'
    },
    {
        typeID: '30013',
        typename: '行李车摆放处'
    },
    {
        typeID: '30014',
        typename: '购物车摆放处'
    },
    {
        typeID: '30015',
        typename: '自助打包'
    },
    {
        typeID: '30016',
        typename: '雨伞租借'
    },
    {
        typeID: '30018',
        typename: '干洗服务'
    },
    {
        typeID: '30019',
        typename: '公共电话'
    },
    {
        typeID: '30020',
        typename: '邮递服务'
    },
    {
        typeID: '30021',
        typename: '充电处'
    },
    {
        typeID: '30022',
        typename: '服务中心'
    },
    {
        typeID: '50001',
        typename: 'ATM'
    },
    {
        typeID: '60001',
        typename: '自动售票机'
    },
    {
        typeID: '60002',
        typename: '人工售票处'
    },
    {
        typeID: '60003',
        typename: '人工值机台'
    },
    {
        typeID: '60004',
        typename: '自助值机台'
    },
    {
        typeID: '60005',
        typename: '检票口'
    },
    {
        typeID: '60006',
        typename: '大行李提取处'
    },
    {
        typeID: '60009',
        typename: '登机口'
    },
    {
        typeID: '60010',
        typename: '行李岛'
    },
    {
        typeID: '70000',
        typename: '消费文字'
    },
    {
        typeID: '70002',
        typename: '自动售卖机'
    },
    {
        typeID: '70004',
        typename: '收银台'
    },
    {
        typeID: '70005',
        typename: '免税店'
    },
    {
        typeID: '70006',
        typename: '休闲娱乐'
    },
    {
        typeID: '80005',
        typename: '安检中心'
    },
    {
        typeID: '80006',
        typename: '警务室'
    },
    {
        typeID: '90001',
        typename: '服装裁剪'
    },
    {
        typeID: '90002',
        typename: '皮靴维修'
    },
    {
        typeID: '90003',
        typename: '手表维修'
    },
    {
        typeID: '90004',
        typename: '座钟维修'
    },
    {
        typeID: '90005',
        typename: '钻戒维修'
    },
    {
        typeID: '110001',
        typename: '报告厅'
    },
    {
        typeID: '110002',
        typename: '教室'
    },
    {
        typeID: '70007',
        typename: '主力店'
    },
    {
        typeID: '70008',
        typename: '服务配套'
    },
    {
        typeID: '70009',
        typename: '美食荟萃'
    },
    {
        typeID: '70010',
        typename: '儿童亲子'
    },
    {
        typeID: '70011',
        typename: '美容护理'
    },
    {
        typeID: '70012',
        typename: '美好生活'
    },
    {
        typeID: '70013',
        typename: '礼品配饰'
    },
    {
        typeID: '70014',
        typename: '潮流服饰'
    },
    {
        typeID: '70015',
        typename: '时尚运动'
    },
    {
        typeID: '70016',
        typename: '珠宝配饰'
    },
    {
        typeID: '70017',
        typename: '皮靴皮具'
    },
    {
        typeID: '70018',
        typename: '教育'
    },
    {
        typeID: '70019',
        typename: '国际化妆品'
    },
    {
        typeID: '70021',
        typename: '潮流时尚'
    },
    {
        typeID: '130001',
        typename: '室外建筑'
    },
    {
        typeID: '130002',
        typename: '绿化'
    },
    {
        typeID: '130003',
        typename: '小区'
    },
    {
        typeID: '130004',
        typename: '水系'
    },
    {
        typeID: '130005',
        typename: '室外道路'
    },
    {
        typeID: '130006',
        typename: '草丛'
    },
    {
        typeID: '130007',
        typename: '树木'
    },
    {
        typeID: '20008',
        typename: '房间地板'
    },
    {
        typeID: '30023',
        typename: '展位摊位'
    },
    {
        typeID: '30024',
        typename: '展位区域'
    },
    {
        typeID: '30025',
        typename: '消防通道'
    }
]
            


Tips: 具体值可以在元素的typeID属性上查看