ArcGIS JS API 将天地图设置为底图
//将天地图作为底图 var tiledLayer = new gisModules.WebTileLayer({ urlTemplate: "http://{subDomain}.tianditu.gov.cn/DataServer?T=vec_w&x={col}&y={row}&l={level}&tk=63c28a6684f96067de4dcf4740422f32", subDomains: ["t0", "t1", "t2", "t3","t4", "t5", "t6", "t7"], }); var tiledLayer_poi = new gisModules.WebTileLayer({ urlTemplate: "http://{subDomain}.tianditu.gov.cn/DataServer?T=cva_w&x={col}&y={row}&l={level}&tk=63c28a6684f96067de4dcf4740422f32", subDomains: ["t0", "t1", "t2", "t3","t4", "t5", "t6", "t7"], }); map = new Map({ basemap: { baseLayers: [tiledLayer, tiledLayer_poi] } });