初遇Citymaker (三)

针对加载citymaker的图层 和主容器的配置
如果是ted 类型
dataset 和 name参数参考citymaker server服务器发布的服务

  • {
  • "aliceName": "map_dixing",
  • "handle": "地形",
  • "dataSet": "pingshan0213",
  • "geoName": "Geometry",
  • "visible": true,
  • "password": "",
  • "type": "citymakerTed",
  • "service": "ps_ted",
  • "ConnectionType": "gviConnectionCms7Http",
  • "opacity": 1,
  • "demAvailable": true,
  • "host": "10.10.120.3",
  • "port": "8040"
  • },

如果是三维要素

  • {
  • "aliceName": "baimo",
  • "handle": "buildingbaimo",
  • "dataSet": "building",
  • "featureClassName": "baimo",
  • "service": "ps_CITY_201502012334_FDB",
  • "geoName": "Geometry",
  • "visible": false,
  • "password": "",
  • "ConnectionType": "gviConnectionCms7Http",
  • "type": "citymaker",
  • "host": "10.10.120.3",
  • "port": "8040"
  • }

针对citymaker 主容器参数
```javascript
var map3dConfig = {

posted @ 2022-01-21 11:26  haibalai  阅读(56)  评论(0编辑  收藏  举报