diff --git a/public/config/mapConfig.js b/public/config/mapConfig.js
new file mode 100644
index 0000000..5b9b78e
--- /dev/null
+++ b/public/config/mapConfig.js
@@ -0,0 +1,27 @@
+// 3维地图有关配置
+const config = {
+ terrian:{
+ type: 'xyz', // 地形类型,xyz: 标准xyz服务,none: 无地形,arcgis arcgis地形服务
+ url:'http://data.mars3d.cn/terrain'
+ }, // 地形,地形只支持一个
+ crs:'EPSG:3857', // 坐标系,支持EPSG:3857(墨卡托), EPSG4326(WSG84), EPSG:4490(CGCS2000)
+ basemaps:[
+ {
+ name:'天地图影像', // 图层名称
+ type:'tdt', //图层类型: tdt天地图,gaode高德地图,wmts, wms,
+ key:'xxxx', // 密钥
+ url:'' // 地址
+ }
+ ],// 地图图层
+ threedlayers:[
+ {
+ name:'管网图层',
+ type:'S3M', // 矢量图层类型: S3M超图,tiles 3DTiles模型, gltf glTF小模型
+ url:'', // 地址
+ center: {}, // 中心位置
+ flyto: true
+ }
+ ] // 矢量图层
+}
+window.mapConfig = config
+
diff --git a/public/config/mapConfig.js b/public/config/mapConfig.js
new file mode 100644
index 0000000..5b9b78e
--- /dev/null
+++ b/public/config/mapConfig.js
@@ -0,0 +1,27 @@
+// 3维地图有关配置
+const config = {
+ terrian:{
+ type: 'xyz', // 地形类型,xyz: 标准xyz服务,none: 无地形,arcgis arcgis地形服务
+ url:'http://data.mars3d.cn/terrain'
+ }, // 地形,地形只支持一个
+ crs:'EPSG:3857', // 坐标系,支持EPSG:3857(墨卡托), EPSG4326(WSG84), EPSG:4490(CGCS2000)
+ basemaps:[
+ {
+ name:'天地图影像', // 图层名称
+ type:'tdt', //图层类型: tdt天地图,gaode高德地图,wmts, wms,
+ key:'xxxx', // 密钥
+ url:'' // 地址
+ }
+ ],// 地图图层
+ threedlayers:[
+ {
+ name:'管网图层',
+ type:'S3M', // 矢量图层类型: S3M超图,tiles 3DTiles模型, gltf glTF小模型
+ url:'', // 地址
+ center: {}, // 中心位置
+ flyto: true
+ }
+ ] // 矢量图层
+}
+window.mapConfig = config
+
diff --git a/public/index.html b/public/index.html
index 3e5a139..33f84ea 100644
--- a/public/index.html
+++ b/public/index.html
@@ -6,6 +6,7 @@
<%= htmlWebpackPlugin.options.title %>
+