{
  "map3d": {
    "scene": {
      "center": {"lat":37.4900,"lng":122.04849,"alt":1000,"heading":360,"pitch":-90},
      "scene3DOnly": false,
      "shadows": false,
      "removeDblClick": true,
      "sceneMode": 2,
      "showSun": true,
      "showMoon": true,
      "showSkyBox": true,
      "showSkyAtmosphere": true,
      "fog": true,
      "fxaa": true,
      "globe": {
        "depthTestAgainstTerrain": false,
        "baseColor": "#546a53",
        "showGroundAtmosphere": true,
        "enableLighting": false
      },
      "cameraController": {
        "zoomFactor": 3.0,
        "minimumZoomDistance": 100,
        "maximumZoomDistance": 50000000,
        "enableRotate": true,
        "enableTranslate": true,
        "enableTilt": true,
        "enableZoom": true,
        "enableCollisionDetection": true,
        "minimumCollisionTerrainHeight": 15000
      }
    },
    "control": {
      "homeButton": true,
      "baseLayerPicker": true,
      "sceneModePicker": false,
      "vrButton": false,
      "fullscreenButton": true,
      "navigationHelpButton": true,
      "animation": false,
      "timeline": false,
      "infoBox": false,
      "geocoder": false,
      "geocoderConfig": {
        "key": [
          "ae29a37307840c7ae4a785ac905927e0"
        ]
      },
      "selectionIndicator": false,
      "defaultContextMenu": true,
      "mouseDownView": true,
      "compass": {
        "bottom": "240px",
        "right": "2px"
      },
      "distanceLegend": {
        "left": "100px",
        "bottom": "0px"
      },
      "locationBar": {
        "fps": true,
        "template": "<div>经度:{lng}</div> <div>纬度:{lat}</div><div>海拔：{alt}米</div> <div>层级：{level}</div><div>方向：{heading}度</div> <div>俯仰角：{pitch}度</div><div>视高：{cameraHeight}米</div>"
      }
    },
    "terrain": {
      "url": "//data.mars3d.cn/terrain",
      "show": true
    },
    "basemaps": [
      {
        "id": 10,
        "name": "地图底图",
        "type": "group"
      },
      {
        "id": 2021,
        "pid": 10,
        "name": "天地图影像",
        "icon": "http://mars3d.cn/example/img/basemaps/tdt_img.png",
        "type": "tdt",
        "layer": "img_d",
        "key": [
          "9ae78c51a0a28f06444d541148496e36"
        ]
      },
      {
        "pid": 10,
        "name": "天地图电子",
        "icon": "http://mars3d.cn/example/img/basemaps/tdt_vec.png",
        "type": "group",
        "layers": [
          {
            "name": "底图",
            "type": "tdt",
            "layer": "vec_d",
            "key": [
              "9ae78c51a0a28f06444d541148496e36"
            ]
          },
          {
            "name": "注记",
            "type": "tdt",
            "layer": "vec_z",
            "key": [
              "9ae78c51a0a28f06444d541148496e36"
            ]
          }
        ]
      },
      {
        "pid": 10,
        "name": "高德影像",
        "type": "group",
        "icon": "http://mars3d.cn/example/img/basemaps/gaode_img.png",
        "layers": [
          {
            "name": "底图",
            "type": "gaode",
            "layer": "img_d"
          },
          {
            "name": "注记",
            "type": "gaode",
            "layer": "img_z"
          }
        ],
        "show": true
      },
      {
        "pid": 10,
        "name": "高德电子",
        "type": "gaode",
        "icon": "http://mars3d.cn/example/img/basemaps/gaode_vec.png",
        "layer": "vec"
      },
      {
        "pid": 10,
        "name": "百度影像",
        "type": "group",
        "icon": "http://mars3d.cn/example/img/basemaps/bd-img.png",
        "layers": [
          {
            "name": "底图",
            "type": "baidu",
            "layer": "img_d"
          },
          {
            "name": "注记",
            "type": "baidu",
            "layer": "img_z"
          }
        ]
      },
      {
        "pid": 10,
        "name": "百度电子",
        "icon": "http://mars3d.cn/example/img/basemaps/bd-vec.png",
        "type": "baidu",
        "layer": "vec"
      },
      {
        "pid": 10,
        "name": "腾讯影像",
        "icon": "http://mars3d.cn/example/img/basemaps/gaode_img.png",
        "type": "group",
        "layers": [
          {
            "name": "底图",
            "type": "tencent",
            "layer": "img_d"
          },
          {
            "name": "注记",
            "type": "tencent",
            "layer": "img_z"
          }
        ]
      },
      {
        "pid": 10,
        "name": "腾讯电子",
        "icon": "http://mars3d.cn/example/img/basemaps/gaode_vec.png",
        "type": "tencent",
        "layer": "vec"
      },
      {
        "pid": 10,
        "name": "ArcGIS影像",
        "icon": "http://mars3d.cn/example/img/basemaps/esriWorldImagery.png",
        "type": "xyz",
        "url": "https://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}",
        "enablePickFeatures": false
      },
      {
        "pid": 10,
        "name": "微软影像",
        "icon": "http://mars3d.cn/example/img/basemaps/bingAerial.png",
        "type": "bing",
        "key": "AuKhM0WRkjhX8E4y1OM0TukYycaw_4Vh3eSfXONDf7OARls-WEB3K_Rfx89bWxof",
        "layer": "Aerial"
      },
      {
        "pid": 10,
        "name": "OSM地图",
        "type": "xyz",
        "icon": "http://mars3d.cn/example/img/basemaps/osm.png",
        "url": "http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",
        "subdomains": "abc"
      },
      {
        "id": 2017,
        "pid": 10,
        "name": "蓝色底图",
        "icon": "http://mars3d.cn/example/img/basemaps/bd-c-midnight.png",
        "type": "xyz",
        "url": "http://map.geoq.cn/arcgis/rest/services/ChinaOnlineStreetPurplishBlue/MapServer/tile/{z}/{y}/{x}",
        "chinaCRS": "GCJ02",
        "enablePickFeatures": false
      },
      {
        "pid": 10,
        "name": "黑色底图",
        "icon": "http://mars3d.cn/example/img/basemaps/bd-c-dark.png",
        "type": "tencent",
        "layer": "custom",
        "style": "4"
      },
      {
        "pid": 10,
        "name": "灰色底图",
        "icon": "http://mars3d.cn/example/img/basemaps/bd-c-grayscale.png",
        "type": "mapbox",
        "username": "marsgis",
        "styleId": "cki0a92b123qo1aluk0e5v7sb",
        "scaleFactor": true
      },
      {
        "pid": 10,
        "name": "离线地图  (供参考)",
        "type": "xyz",
        "icon": "http://mars3d.cn/example/img/basemaps/mapboxSatellite.png",
        "url": "//data.mars3d.cn/tile/googleImg/{z}/{x}/{y}.jpg",
        "minimumLevel": 1,
        "maximumLevel": 18,
        "minimumTerrainLevel": 1,
        "maximumTerrainLevel": 18,
        "rectangle": {
          "xmin": -180,
          "xmax": 180,
          "ymin": -85,
          "ymax": 85
        }
      },
      {
        "pid": 10,
        "name": "单张图片 (本地离线)",
        "icon": "http://mars3d.cn/example/img/basemaps/offline.png",
        "type": "image",
        "url": "//data.mars3d.cn/file/img/world/world.jpg"
      }
    ],
    "layers": [
      {
        "id": 20,
        "name": "辅助图层",
        "type": "group"
      },
      {
        "pid": 20,
        "name": "行政区划界线",
        "type": "xyz",
        "url": "https://t{s}.tianditu.gov.cn/DataServer?T=ibo_w&x={x}&y={y}&l={z}&tk=9ae78c51a0a28f06444d541148496e36",
        "subdomains": "01234567",
        "maximumLevel": 10,
        "show": false
      },
      {
        "pid": 20,
        "name": "天地图注记",
        "type": "tdt",
        "layer": "img_z",
        "key": [
          "9ae78c51a0a28f06444d541148496e36"
        ],
        "show": false
      },
      {
        "id": 30,
        "name": "实时路况",
        "type": "group"
      },
      {
        "pid": 30,
        "name": "高德实时路况",
        "type": "gaode",
        "layer": "time",
        "minimumTerrainLevel": 4,
        "minimumLevel": 4,
        "proxy": "//server.mars3d.cn/proxy/"
      },
      {
        "pid": 30,
        "name": "百度实时路况",
        "type": "baidu",
        "layer": "time"
      },
      {
        "pid": 10,
        "name": "天地图电子",
        "icon": "http://mars3d.cn/example/img/basemaps/tdt_vec.png",
        "type": "group",
        "layers": [
          {
            "name": "底图",
            "type": "tdt",
            "layer": "vec_d",
            "key": [
              "9ae78c51a0a28f06444d541148496e36"
            ]
          },
          {
            "name": "注记",
            "type": "tdt",
            "layer": "vec_z",
            "key": [
              "9ae78c51a0a28f06444d541148496e36"
            ]
          }
        ],
        "show": false
      },
      {
        "pid": 40,
        "name": "单张图片 (本地离线)",
        "icon": "http://mars3d.cn/example/img/basemaps/offline.png",
        "type": "image",
        "url": "/dianziweilan/dianziweilan.jpg",
        "rectangle": {
          "xmin": 115.34449339,
          "xmax": 115.383424,
          "ymin": 39.269255,
          "ymax": 39.2829251
        },
        "show": false
      }
    ]
  }
}