NONGYESHUZIDIZUO/public/config/server.js

80 lines
2.6 KiB
JavaScript
Raw Normal View History

2023-11-03 13:33:08 +08:00
export const APPS_TITLE = "费县时空大数据平台"
export const MAP_SERVER_CONFIG = [
{
id: "baseMap",
name: "在线底图",
type: "single",
select: '',
show: true,
image: '/images/echartsimg/mapbottom.png',
children: [
2024-05-07 20:04:53 +08:00
{
id: 1,
parentId: "baseMap",
proxiedUrl: '//dev.virtualearth.net',
name: '必应地图',
type: 'BINGMAP',
state: 1,
image: '/images/baseLayer/Bing.png'
},
{
id: 2,
parentId: "baseMap",
proxiedUrl: 'http://t0.tianditu.gov.cn/img_w/wmts',
name: '天地图',
type: 'TIANDITU',
state: 0,
image: '/images/baseLayer/tianditu.png'
},
2023-11-03 13:33:08 +08:00
{
id: 3,
parentId: "baseMap",
proxiedUrl: 'https://a.tile.openstreetmap.org/',
name: 'OSM街道地图',
type: 'OSM',
2023-11-18 16:05:39 +08:00
state: 1,
2023-11-03 13:33:08 +08:00
image: '/images/baseLayer/OSM.png'
}
]
},
{
id: "webServe",
name: "服务",
type: "many",
select: [],
show: true,
image: '/images/echartsimg/maplayersactive.png',
children: []
},
]
2025-07-04 08:36:38 +08:00
export const ZHENJIE_BORDER_SERVER = "http://123.132.248.154:6045/iserver/services/map-mvt-FeiXianZhenJie12feixianZJ2/restjsr/v1/vectortile/maps/费县镇界_1-2%40feixianZJ"
2023-11-03 13:33:08 +08:00
export const DEFAULT_BASEMAP = [0, 0] // 默认选择的底图类型对于MAP_SERVER_CONFIG的index
export const TDT_KEY = 'b6585bc41ee16251dbe6b1af64f375d9'
export const BING_MAP_KEY = 'AmTLTFB9yDa02XCXQcXPPeWFuTiRQpezXihtyD_-67kH4RgYAOv1QSejOjTiGsYG'
const _SUPER_MAP_KEY_DEV = "5OHXWPT-WFJD7MxwSjOloGIFPReUlmwYmCE14NOOxH6gIi-S-TgnaHeTKAeF84uwV5YUJGZvMylZlRgoKiC1BA.."
const _SUPER_MAP_KEY = "";
const _BASE_API_DEV = "http://192.168.10.126:9272"
2025-07-04 08:36:38 +08:00
// const _BASE_API = "http://223.99.16.253:8098"
const _BASE_API = "http://123.132.248.154:6041"
2023-11-03 13:33:08 +08:00
const _BASE_IMAGE_URL_DEV = "http://192.168.10.126:9090"
2025-07-04 08:36:38 +08:00
const _BASE_IMAGE_URL= "http://123.132.248.154:6044"
2023-11-03 13:33:08 +08:00
const DEBUG = false
2025-07-04 08:36:38 +08:00
export const SERVE_URL = "http://123.132.248.154:6044/"
export const CITY_MANAGE_API = "http://123.132.248.154:9252" //农业数字底座专用
// export const CITY_MANAGE_API = "http://221.2.83.254:8006"
2023-11-03 13:33:08 +08:00
export const BASE_API = DEBUG ? _BASE_API_DEV : _BASE_API
export const BASE_IMAGE_URL = DEBUG ? _BASE_IMAGE_URL_DEV : _BASE_IMAGE_URL
export const SUPER_MAP_KEY = DEBUG ? _SUPER_MAP_KEY_DEV : _SUPER_MAP_KEY