123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743 |
- const arcMapToken = "sy-af242c93-2d14-4232-812b-b9f23172dbb2";
- window.ApplicationConfig = {
- // baseUrl: "https://zlzd.zrzyt.zj.gov.cn/app215/ybz-api/",
- baseUrl: '/ysgzybz',
- mapLayerConfig: {
- use: "innerNet",
- projection: {
- "EPSG:4490": "+proj=longlat +ellps=GRS80 +no_defs" // proj4.defs("EPSG:4490","+proj=longlat +ellps=GRS80 +no_defs");
- },
- innerNet: {
- view: {
- center: [120.215879, 29.105148],
- zoom: 8,
- fitExtent: [
- 119.93054011309823,
- 27.58795490358181,
- 121.24821284259042,
- 28.05212726686306
- ],
- minZoom: 7,
- maxZoom: 21
- },
- layers: [
- {
- id: "jcdl", // id 一经指定,切勿轻易修改
- name: "基础地理",
- enabled: true, // 是否启用,启用才会显示在页面中
- expand: false, // 是否展开折叠
- visible: true, // 是否显示子图层
- base: true, // 是否底图,底图 在 设置 visible-layer-ids 时会跳过,向下传递
- opacity: 1, // 图层透明度,取值0~1或false,false禁用透明度调节功能,可选配置
- hidden: false, // 只在 layerTree 组件里面不显示,代码上依旧能获取到,可选配置
- children: [
- {
- id: "zjyx-g",
- name: "浙江-影像",
- enabled: true,
- expand: false,
- visible: true,
- children: [
- {
- id: 'tdt',
- name: "天地图影像",
- enabled: true,
- visible: true,
- wmtsForceUrl: true,
- serverType: "tdtxyz",
- url: "https://t0.tianditu.gov.cn/DataServer?T=img_w&x={x}&y={y}&l={z}&tk=f2f2a746d8ec501d1c60d1ac7d7e063c",
- },
- {
- id: "zjyx",
- name: "浙江-影像",
- enabled: true,
- visible: true,
- serverType: "wmts",
- wmtsForceUrl: true,
- url: 'https://zlzd.zrzyt.zj.gov.cn/gtkj/zjgt48/34048bffdd0d4d148ca4a40da7eade21/services/wmts/imgmap/default/oss?request=getcapabilities'
- }
- ]
- },
- {
- id: "xzqh",
- name: "行政区划",
- enabled: true,
- expand: false,
- visible: false,
- children: [
- {
- id: "xzqh-s",
- name: "市级行政区",
- enabled: true,
- visible: true,
- serverType: "ArcGISTile",
- url:
- "https://zlzd.zrzyt.zj.gov.cn/gtkj/SZSW/ef622c03738048d2962fb27c0e28aa64/arcgis/rest/services/GCS330000_1001_XZQH_2021_TM/GCS330000_1001_XZQH_DS_2021_TM/MapServer"
- },
- {
- id: "xzqh-s-search",
- name: "市级行政区",
- enabled: true,
- visible: false,
- serverType: "wms",
- params: {
- version: '1.1.1',
- layers: 'sde:sjxzq',
- },
- url:
- "https://zlzd.zrzyt.zj.gov.cn/geoserver/sde/wms",
- queryUrl: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/sde',
- },
- {
- id: "xzqh-x-search",
- name: "县级行政区",
- enabled: true,
- visible: false,
- serverType: "wms",
- params: {
- version: '1.1.1',
- layers: 'sde:xjxzq',
- },
- url:
- "https://zlzd.zrzyt.zj.gov.cn/geoserver/sde/wms",
- queryUrl: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/sde',
- },
- {
- id: "xzqh-x",
- name: "县级行政区",
- enabled: true,
- visible: false,
- serverType: "ArcGISTile",
- url:
- "https://zlzd.zrzyt.zj.gov.cn/gtkj/SZSW/8eebbfb5f4154884b948fffdd0925158/arcgis/rest/services/GCS330000_1001_XZQH_2021_TM/GCS330000_1001_XZQH_QX_2021_TM/MapServer"
- },
- ]
- }
- ]
- },
- {
- id: "dktc",
- name: "图层服务",
- enabled: true,
- expand: true,
- visible: false,
- children: [
- {
- id: "hzyx-202311",
- name: "杭州-影像-11",
- enabled: true,
- visible: true,
- serverType: "ArcGISTile",
- url: `https://kjzzyy.hzsgis.com:8082/Ip109-13-8083/512834d664a4d3407b4c18ba3e8b3b66373945ec/Tile/RemoteRest/YG_HZRASTER202311_BX.gis`
- },
- {
- id: "hzyx-202310",
- name: "杭州-影像-10",
- enabled: true,
- visible: false,
- serverType: "ArcGISTile",
- url: `https://kjzzyy.hzsgis.com:8082/Ip109-13-8083/512834d664a4d3407b4c18ba3e8b3b66373945ec/Tile/RemoteRest/YG_HZRASTER202310_BX.gis`
- },
- {
- id: "hzyx-202309",
- name: "杭州-影像-09",
- enabled: true,
- visible: false,
- serverType: "ArcGISTile",
- url: `https://kjzzyy.hzsgis.com:8082/Ip109-13-8083/512834d664a4d3407b4c18ba3e8b3b66373945ec/Tile/RemoteRest/YG_HZRASTER202309_BX.gis`
- },
- {
- id: "hzyx-202308",
- name: "杭州-影像-08",
- enabled: true,
- visible: false,
- serverType: "ArcGISTile",
- url: `https://kjzzyy.hzsgis.com:8082/Ip109-13-8083/512834d664a4d3407b4c18ba3e8b3b66373945ec/Tile/RemoteRest/YG_HZRASTER202308_BX.gis`
- },
- {
- id: "hzyx-202307",
- name: "杭州-影像-07",
- enabled: true,
- visible: false,
- serverType: "ArcGISTile",
- url: `https://kjzzyy.hzsgis.com:8082/Ip109-13-8083/512834d664a4d3407b4c18ba3e8b3b66373945ec/Tile/RemoteRest/YG_HZRASTER202307_BX.gis`
- },
- {
- id: "bj-kzxxxgh",
- name: "控制性详细规划",
- enabled: true,
- visible: false,
- serverType: "dynamic",
- params: {
- layers: "show:0,1"
- },
- url: "https://ditu.hangzhoumap.gov.cn:6443/arcgis/rest/services/KGDK_CESHI/MapServer",
- },
- {
- id: "bj-lsyd",
- name: "滨江临时用地",
- enabled: true,
- visible: true,
- serverType: 'wms',
- params: {
- version: '1.1.1',
- layers: 'sde:bjlsyd',
- },
- url: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/sde/wms',
- queryUrl: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/sde',
- legend: {
- title: "滨江临时用地",
- defs: {
- 滨江临时用地: {
- color: "#9999FF",
- query: {}
- },
- }
- }
- },
- {
- id: "bj-wlyd",
- name: "滨江未供地块",
- enabled: true,
- visible: false,
- serverType: 'wms',
- params: {
- version: '1.1.1',
- layers: 'ysybz:bjwlyd2000',
- },
- url: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/ysybz/wms',
- queryUrl: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/ysybz',
- legend: {
- title: "未供地块资源",
- defs: {
- 一类工业用地: {
- color: "#BD9673",
- query: {}
- },
- 中小学用地: {
- color: "#FF82CE",
- query: {}
- },
- 二类居住用地: {
- color: "#FFFF29",
- query: {}
- },
- 住宅用地: {
- color: "#FFFF29",
- query: {}
- },
- 体育用地: {
- color: "#00A67B",
- query: {}
- },
- 供电用地: {
- color: "#006584",
- query: {}
- },
- 公共交通场站用地: {
- color: "#DEDBDE",
- query: {}
- },
- 公园绿地: {
- color: "#00FF00",
- query: {}
- },
- 其他公用设施用地: {
- color: "#006584",
- query: {}
- },
- 农林用地: {
- color: "#63AE63",
- query: {}
- },
- 医疗卫生用地: {
- color: "#FF7D7B",
- query: {}
- },
- 商业服务业设施用地: {
- color: "#FF0000",
- query: {}
- },
- 商业用地: {
- color: "#FF0000",
- query: {}
- },
- 商业金融业用地: {
- color: "#FF0063",
- query: {}
- },
- 安全设施用地: {
- color: "#006584",
- query: {}
- },
- 广场绿地: {
- color: "#009600",
- query: {}
- },
- 排水用地: {
- color: "#006584",
- query: {}
- },
- 文物古迹用地: {
- color: "#849252",
- query: {}
- },
- 旅馆业用地: {
- color: "#FF0000",
- query: {}
- },
- 服务设施用地: {
- color: "#006584",
- query: {}
- },
- 村镇居民用地: {
- color: "#FFFF29",
- query: {}
- },
- 水域: {
- color: "#63CBFF",
- query: {}
- },
- 特殊用地: {
- color: "#849252",
- query: {}
- },
- 社会停车场用地: {
- color: "#DEDBDE",
- query: {}
- },
- 综合交通枢纽用地: {
- color: "#DEDBDE",
- query: {}
- },
- 绿地: {
- color: "#CEF77B",
- query: {}
- },
- 轨道交通线路用地: {
- color: "#DEDBDE",
- query: {}
- },
- 防护绿地: {
- color: "#CEF77B",
- query: {}
- },
- 非建设用地: {
- color: "#006584",
- query: {}
- },
- 其他: {
- color: "#006584",
- query: {}
- },
- }
- }
- },
- {
- id: "bjq-xzq",
- name: "滨江区行政区",
- enabled: true,
- visible: false,
- serverType: 'wms',
- params: {
- version: '1.1.1',
- layers: 'sde:xzq',
- },
- url: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/sde/wms',
- queryUrl: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/sde'
- },
- {
- id: "bjq-gd",
- name: "滨江区供地地块",
- enabled: true,
- visible: false,
- serverType: 'wms',
- params: {
- version: '1.1.1',
- layers: 'ysybz:gdxminfo_bj_1',
- },
- url: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/ysybz/wms',
- queryUrl: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/ysybz',
- },
- {
- id: "bj-gyyd-wst",
- name: "滨江工业用地五色图",
- enabled: true,
- visible: false,
- serverType: 'wms',
- params: {
- version: '1.1.1',
- layers: 'sde:ydb_bj_gyyd_1',
- },
- url: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/sde/wms',
- queryUrl: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/sde',
- legend: {
- title: "滨江工业用地五色图",
- defs: {
- 亩均税收大于100: {
- color: "#00FF00",
- query: {}
- },
- '亩均税收50~100': {
- color: "#0070FF",
- query: {}
- },
- '亩均税收30~50': {
- color: "#FF00DF",
- query: {}
- },
- '亩均税收10~30': {
- color: "#FFFF2D",
- query: {}
- },
- '亩均税收小于10': {
- color: "red",
- query: {}
- },
- }
- }
- },
- {
- id: "gyyd",
- name: "工业用地",
- enabled: true,
- visible: false,
- serverType: 'wms',
- params: {
- version: '1.1.1',
- layers: 'ysybz:ydb_bj_gyyd',
- },
- url: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/ysybz/wms',
- queryUrl: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/ysybz',
- legend: {
- title: "工业用地",
- defs: {
- 工业用地: {
- color: "#A83801",
- query: {}
- }
- }
- }
- },
- {
- id: "syyd",
- name: "商业用地",
- enabled: true,
- visible: false,
- serverType: 'wms',
- params: {
- version: '1.1.1',
- layers: 'sde:bjsyyd',
- },
- url: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/sde/wms',
- queryUrl: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/sde',
- legend: {
- title: "商业用地",
- defs: {
- 商业用地: {
- color: "#FF0000",
- query: {}
- }
- }
- }
- },
- {
- id: "bj-dkgl",
- name: "滨江地块管理",
- enabled: true,
- visible: false,
- serverType: 'wms',
- params: {
- version: '1.1.1',
- layers: 'sde:bjwkfly2000',
- },
- url: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/sde/wms',
- queryUrl: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/sde',
- legend: {
- title: "管地单位",
- defs: {
- 区城管局: {
- color: "rgba(255, 190, 190, 255)",
- query: {}
- },
- 城建发展公司: {
- color: "rgba(255, 211, 127, 255)",
- query: {}
- },
- "城建发展公司;智慧新天地": {
- color: "rgba(255, 211, 127, 255)",
- query: {}
- },
- 建管中心: {
- color: "rgba(80, 20, 173, 255)",
- query: {}
- },
- 智慧新天地: {
- color: "rgba(255, 127, 127, 255)",
- query: {}
- },
- 浦沿街道: {
- color: "rgba(255, 115, 223, 255)",
- query: {}
- },
- 滨江环境公司: {
- color: "rgba(230, 76, 0, 255)",
- query: {}
- },
- "滨江环境公司;长河街道": {
- color: "rgba(0, 255, 197, 255)",
- query: {}
- },
- 物联网: {
- color: "rgba(0, 112, 255, 255)",
- query: {}
- },
- "物联网/滨江环境公司": {
- color: "rgba(0, 112, 255, 255)",
- query: {}
- },
- 白马湖创意城: {
- color: "rgba(197, 0, 255, 255)",
- query: {}
- },
- 西兴街道: {
- color: "rgba(85, 255, 0, 255)",
- query: {}
- },
- 资产经营公司: {
- color: "rgba(255, 0, 0, 255)",
- query: {}
- },
- "资产经营公司/长河街道": {
- color: "rgba(0, 255, 197, 255)",
- query: {}
- },
- 长河街道: {
- color: "rgba(0, 255, 197, 255)",
- query: {}
- },
- }
- }
- },
- {
- id: "bj-xz",
- name: "滨江小镇",
- enabled: true,
- visible: false,
- serverType: 'wms',
- params: {
- version: '1.1.1',
- layers: 'ysybz:特色小镇',
- },
- url: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/ysybz/wms',
- queryUrl: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/ysybz',
- legend: {
- title: "滨江小镇",
- defs: {
- 小镇: {
- color: "red",
- query: {}
- },
- }
- }
- },
- {
- id: "bj-stbhhx",
- name: "滨江生态保护红线",
- enabled: true,
- visible: false,
- serverType: 'wms',
- params: {
- version: '1.1.1',
- layers: 'ysybz:bjstbhhx',
- },
- url: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/ysybz/wms',
- queryUrl: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/ysybz',
- legend: {
- title: "滨江生态保护红线",
- defs: {
- 保护红线: {
- color: "#00A57D",
- query: {}
- },
- }
- }
- },
- {
- id: "bj-czkfbj",
- name: "滨江城镇开发边界",
- enabled: true,
- visible: false,
- serverType: 'wms',
- params: {
- version: '1.1.1',
- layers: 'ysybz:bjczkfbj_1',
- },
- url: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/ysybz/wms',
- queryUrl: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/ysybz',
- legend: {
- title: "滨江城镇开发边界",
- defs: {
- 开发边界: {
- color: "#FF0064",
- query: {}
- },
- }
- }
- },
- {
- id: "bj-gyyd-new",
- name: "滨江住宅用地",
- enabled: true,
- visible: false,
- serverType: 'wms',
- params: {
- version: '1.1.1',
- layers: 'ysybz:ydb_bj_gyyd',
- },
- url: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/ysybz/wms',
- queryUrl: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/ysybz',
- legend: {
- title: "滨江工业用地",
- defs: {
- 滨江工业用地: {
- color: "#BB9674",
- query: {}
- }
- }
- }
- },
- {
- id: "bj-zzyd-new",
- name: "滨江住宅用地",
- enabled: true,
- visible: false,
- serverType: 'wms',
- params: {
- version: '1.1.1',
- layers: 'ysybz:zzyd',
- },
- url: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/ysybz/wms',
- queryUrl: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/ysybz',
- legend: {
- title: "滨江住宅用地",
- defs: {
- 滨江住宅用地: {
- color: "#FFFF2D",
- query: {}
- }
- }
- }
- },
- {
- id: "bj-jyyd",
- name: "滨江教育用地",
- enabled: true,
- visible: false,
- serverType: 'wms',
- params: {
- version: '1.1.1',
- layers: 'ysybz:jyyd',
- },
- url: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/ysybz/wms',
- queryUrl: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/ysybz',
- legend: {
- title: "滨江教育用地",
- defs: {
- 滨江教育用地: {
- color: "#00FFC5",
- query: {}
- }
- }
- }
- },
- {
- id: "bj-kfbjw",
- name: "滨江城镇开发边界外",
- enabled: true,
- visible: false,
- serverType: 'wms',
- params: {
- version: '1.1.1',
- layers: 'ysybz:kfbjw',
- },
- url: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/ysybz/wms',
- queryUrl: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/ysybz',
- legend: {
- title: "滨江城镇开发边界外",
- defs: {
- 开发边界外: {
- color: "#FFFF2D",
- query: {}
- },
- }
- }
- },
- {
- id: "bj-ld",
- name: "滨江林地",
- enabled: true,
- visible: false,
- serverType: 'wms',
- params: {
- version: '1.1.1',
- layers: 'ysybz:bjld2000',
- },
- url: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/ysybz/wms',
- queryUrl: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/ysybz',
- legend: {
- title: "滨江林地",
- defs: {
- 滨江林地: {
- color: "#64AF64",
- query: {}
- },
- }
- }
- },
- {
- id: "bj-gd",
- name: "滨江耕地",
- enabled: true,
- visible: false,
- serverType: 'wms',
- params: {
- version: '1.1.1',
- layers: 'ysybz:bjgd',
- },
- url: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/ysybz/wms',
- queryUrl: 'https://zlzd.zrzyt.zj.gov.cn/geoserver/ysybz',
- legend: {
- title: "滨江耕地",
- defs: {
- 滨江耕地: {
- color: "#F5F8DC",
- query: {}
- },
- }
- }
- },
- ]
- }
- ]
- }
- },
- mockData:{
- yhLandInfo:{
- gyyd:34211,
- ss: 325.62,
- mjss: 95.18,
- ss_after:333.76,
- mjss_after:97.56,
- add_ss:8.13,
- add_mjss:2.38,
- },
- yhMjxyData: {
- mjgx: 1.25,
- mjdx: 2.17
- }
- }
- }
|