diff --git a/public/config/mars3dConfig.json b/public/config/mars3dConfig.json index 6e24067..29a3c40 100644 --- a/public/config/mars3dConfig.json +++ b/public/config/mars3dConfig.json @@ -30,7 +30,7 @@ "basemaps": [ { "pid": 10, - "id": 1111, + "id": 1112, "name": "天地图", "type": "group", "layers": [ @@ -39,7 +39,7 @@ ] }, { - "id": 1112, + "id": 1111, "pid": 10, "name": "天地图电子", "icon": "http://mars3d.cn/example/img/basemaps/tdt_vec.png", @@ -59,5 +59,25 @@ "key": ["216ee92889e17ab1b083fae665d522b8"], "show": true } + ], + "layers": [ + { + "type": "geojson", + "id": "building", + "url": "http://111.198.10.15:11404/3d/zqBuilding.json", + "symbol": { + "type": "polygonP", + "styleOptions": { + "color": "rgb(52,125,246)", + "outline": false, + "opacity": 0.8 + } + }, + "buildings": { + "height": 100 + }, + "popup": "{name}", + "show": true + } ] } diff --git a/public/config/mars3dConfig.json b/public/config/mars3dConfig.json index 6e24067..29a3c40 100644 --- a/public/config/mars3dConfig.json +++ b/public/config/mars3dConfig.json @@ -30,7 +30,7 @@ "basemaps": [ { "pid": 10, - "id": 1111, + "id": 1112, "name": "天地图", "type": "group", "layers": [ @@ -39,7 +39,7 @@ ] }, { - "id": 1112, + "id": 1111, "pid": 10, "name": "天地图电子", "icon": "http://mars3d.cn/example/img/basemaps/tdt_vec.png", @@ -59,5 +59,25 @@ "key": ["216ee92889e17ab1b083fae665d522b8"], "show": true } + ], + "layers": [ + { + "type": "geojson", + "id": "building", + "url": "http://111.198.10.15:11404/3d/zqBuilding.json", + "symbol": { + "type": "polygonP", + "styleOptions": { + "color": "rgb(52,125,246)", + "outline": false, + "opacity": 0.8 + } + }, + "buildings": { + "height": 100 + }, + "popup": "{name}", + "show": true + } ] } diff --git a/public/config/project.config.json b/public/config/project.config.json index 54c91c6..69da0af 100644 --- a/public/config/project.config.json +++ b/public/config/project.config.json @@ -3,12 +3,13 @@ "subtitle": "", "theme":"blue", "baseUrl": "http://60.208.121.150:5001/", - "wsUrl": "ws://60.208.121.150:5001/websocket", + "wsUrl": "ws://60.208.121.150:5001/websocket/", "mainPage": "http://111.198.10.15:11404/dcms/#", "amapSecurityCode": "182a2c5889f7fe6d90546d9b8f4781ad", "amapKey": "1733551f35b56f6d8e9c0a9d4c2523b", "mapType": "gaode", "alarmSound": true, + "refreshTime": 60, "singleSys": true, "refreshType":"websocket", "showPointType":"massMarkers", @@ -16,5 +17,6 @@ "provinceCode":"360000", "cityCode":"361000", "areaCode":"361024", - "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqRq/MapServer/" + "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zq_GxData0825/MapServer/", + "buildingUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqBuilding/MapServer/0" } diff --git a/public/config/mars3dConfig.json b/public/config/mars3dConfig.json index 6e24067..29a3c40 100644 --- a/public/config/mars3dConfig.json +++ b/public/config/mars3dConfig.json @@ -30,7 +30,7 @@ "basemaps": [ { "pid": 10, - "id": 1111, + "id": 1112, "name": "天地图", "type": "group", "layers": [ @@ -39,7 +39,7 @@ ] }, { - "id": 1112, + "id": 1111, "pid": 10, "name": "天地图电子", "icon": "http://mars3d.cn/example/img/basemaps/tdt_vec.png", @@ -59,5 +59,25 @@ "key": ["216ee92889e17ab1b083fae665d522b8"], "show": true } + ], + "layers": [ + { + "type": "geojson", + "id": "building", + "url": "http://111.198.10.15:11404/3d/zqBuilding.json", + "symbol": { + "type": "polygonP", + "styleOptions": { + "color": "rgb(52,125,246)", + "outline": false, + "opacity": 0.8 + } + }, + "buildings": { + "height": 100 + }, + "popup": "{name}", + "show": true + } ] } diff --git a/public/config/project.config.json b/public/config/project.config.json index 54c91c6..69da0af 100644 --- a/public/config/project.config.json +++ b/public/config/project.config.json @@ -3,12 +3,13 @@ "subtitle": "", "theme":"blue", "baseUrl": "http://60.208.121.150:5001/", - "wsUrl": "ws://60.208.121.150:5001/websocket", + "wsUrl": "ws://60.208.121.150:5001/websocket/", "mainPage": "http://111.198.10.15:11404/dcms/#", "amapSecurityCode": "182a2c5889f7fe6d90546d9b8f4781ad", "amapKey": "1733551f35b56f6d8e9c0a9d4c2523b", "mapType": "gaode", "alarmSound": true, + "refreshTime": 60, "singleSys": true, "refreshType":"websocket", "showPointType":"massMarkers", @@ -16,5 +17,6 @@ "provinceCode":"360000", "cityCode":"361000", "areaCode":"361024", - "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqRq/MapServer/" + "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zq_GxData0825/MapServer/", + "buildingUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqBuilding/MapServer/0" } diff --git "a/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" new file mode 100644 index 0000000..0d95cba --- /dev/null +++ "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" Binary files differ diff --git a/public/config/mars3dConfig.json b/public/config/mars3dConfig.json index 6e24067..29a3c40 100644 --- a/public/config/mars3dConfig.json +++ b/public/config/mars3dConfig.json @@ -30,7 +30,7 @@ "basemaps": [ { "pid": 10, - "id": 1111, + "id": 1112, "name": "天地图", "type": "group", "layers": [ @@ -39,7 +39,7 @@ ] }, { - "id": 1112, + "id": 1111, "pid": 10, "name": "天地图电子", "icon": "http://mars3d.cn/example/img/basemaps/tdt_vec.png", @@ -59,5 +59,25 @@ "key": ["216ee92889e17ab1b083fae665d522b8"], "show": true } + ], + "layers": [ + { + "type": "geojson", + "id": "building", + "url": "http://111.198.10.15:11404/3d/zqBuilding.json", + "symbol": { + "type": "polygonP", + "styleOptions": { + "color": "rgb(52,125,246)", + "outline": false, + "opacity": 0.8 + } + }, + "buildings": { + "height": 100 + }, + "popup": "{name}", + "show": true + } ] } diff --git a/public/config/project.config.json b/public/config/project.config.json index 54c91c6..69da0af 100644 --- a/public/config/project.config.json +++ b/public/config/project.config.json @@ -3,12 +3,13 @@ "subtitle": "", "theme":"blue", "baseUrl": "http://60.208.121.150:5001/", - "wsUrl": "ws://60.208.121.150:5001/websocket", + "wsUrl": "ws://60.208.121.150:5001/websocket/", "mainPage": "http://111.198.10.15:11404/dcms/#", "amapSecurityCode": "182a2c5889f7fe6d90546d9b8f4781ad", "amapKey": "1733551f35b56f6d8e9c0a9d4c2523b", "mapType": "gaode", "alarmSound": true, + "refreshTime": 60, "singleSys": true, "refreshType":"websocket", "showPointType":"massMarkers", @@ -16,5 +17,6 @@ "provinceCode":"360000", "cityCode":"361000", "areaCode":"361024", - "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqRq/MapServer/" + "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zq_GxData0825/MapServer/", + "buildingUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqBuilding/MapServer/0" } diff --git "a/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" new file mode 100644 index 0000000..0d95cba --- /dev/null +++ "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" Binary files differ diff --git "a/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" "b/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" new file mode 100644 index 0000000..d050e49 --- /dev/null +++ "b/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" Binary files differ diff --git a/public/config/mars3dConfig.json b/public/config/mars3dConfig.json index 6e24067..29a3c40 100644 --- a/public/config/mars3dConfig.json +++ b/public/config/mars3dConfig.json @@ -30,7 +30,7 @@ "basemaps": [ { "pid": 10, - "id": 1111, + "id": 1112, "name": "天地图", "type": "group", "layers": [ @@ -39,7 +39,7 @@ ] }, { - "id": 1112, + "id": 1111, "pid": 10, "name": "天地图电子", "icon": "http://mars3d.cn/example/img/basemaps/tdt_vec.png", @@ -59,5 +59,25 @@ "key": ["216ee92889e17ab1b083fae665d522b8"], "show": true } + ], + "layers": [ + { + "type": "geojson", + "id": "building", + "url": "http://111.198.10.15:11404/3d/zqBuilding.json", + "symbol": { + "type": "polygonP", + "styleOptions": { + "color": "rgb(52,125,246)", + "outline": false, + "opacity": 0.8 + } + }, + "buildings": { + "height": 100 + }, + "popup": "{name}", + "show": true + } ] } diff --git a/public/config/project.config.json b/public/config/project.config.json index 54c91c6..69da0af 100644 --- a/public/config/project.config.json +++ b/public/config/project.config.json @@ -3,12 +3,13 @@ "subtitle": "", "theme":"blue", "baseUrl": "http://60.208.121.150:5001/", - "wsUrl": "ws://60.208.121.150:5001/websocket", + "wsUrl": "ws://60.208.121.150:5001/websocket/", "mainPage": "http://111.198.10.15:11404/dcms/#", "amapSecurityCode": "182a2c5889f7fe6d90546d9b8f4781ad", "amapKey": "1733551f35b56f6d8e9c0a9d4c2523b", "mapType": "gaode", "alarmSound": true, + "refreshTime": 60, "singleSys": true, "refreshType":"websocket", "showPointType":"massMarkers", @@ -16,5 +17,6 @@ "provinceCode":"360000", "cityCode":"361000", "areaCode":"361024", - "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqRq/MapServer/" + "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zq_GxData0825/MapServer/", + "buildingUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqBuilding/MapServer/0" } diff --git "a/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" new file mode 100644 index 0000000..0d95cba --- /dev/null +++ "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" Binary files differ diff --git "a/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" "b/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" new file mode 100644 index 0000000..d050e49 --- /dev/null +++ "b/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" Binary files differ diff --git "a/public/static/images/dev-\347\256\241\347\233\257.png" "b/public/static/images/dev-\347\256\241\347\233\257.png" new file mode 100644 index 0000000..96f8e94 --- /dev/null +++ "b/public/static/images/dev-\347\256\241\347\233\257.png" Binary files differ diff --git a/public/config/mars3dConfig.json b/public/config/mars3dConfig.json index 6e24067..29a3c40 100644 --- a/public/config/mars3dConfig.json +++ b/public/config/mars3dConfig.json @@ -30,7 +30,7 @@ "basemaps": [ { "pid": 10, - "id": 1111, + "id": 1112, "name": "天地图", "type": "group", "layers": [ @@ -39,7 +39,7 @@ ] }, { - "id": 1112, + "id": 1111, "pid": 10, "name": "天地图电子", "icon": "http://mars3d.cn/example/img/basemaps/tdt_vec.png", @@ -59,5 +59,25 @@ "key": ["216ee92889e17ab1b083fae665d522b8"], "show": true } + ], + "layers": [ + { + "type": "geojson", + "id": "building", + "url": "http://111.198.10.15:11404/3d/zqBuilding.json", + "symbol": { + "type": "polygonP", + "styleOptions": { + "color": "rgb(52,125,246)", + "outline": false, + "opacity": 0.8 + } + }, + "buildings": { + "height": 100 + }, + "popup": "{name}", + "show": true + } ] } diff --git a/public/config/project.config.json b/public/config/project.config.json index 54c91c6..69da0af 100644 --- a/public/config/project.config.json +++ b/public/config/project.config.json @@ -3,12 +3,13 @@ "subtitle": "", "theme":"blue", "baseUrl": "http://60.208.121.150:5001/", - "wsUrl": "ws://60.208.121.150:5001/websocket", + "wsUrl": "ws://60.208.121.150:5001/websocket/", "mainPage": "http://111.198.10.15:11404/dcms/#", "amapSecurityCode": "182a2c5889f7fe6d90546d9b8f4781ad", "amapKey": "1733551f35b56f6d8e9c0a9d4c2523b", "mapType": "gaode", "alarmSound": true, + "refreshTime": 60, "singleSys": true, "refreshType":"websocket", "showPointType":"massMarkers", @@ -16,5 +17,6 @@ "provinceCode":"360000", "cityCode":"361000", "areaCode":"361024", - "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqRq/MapServer/" + "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zq_GxData0825/MapServer/", + "buildingUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqBuilding/MapServer/0" } diff --git "a/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" new file mode 100644 index 0000000..0d95cba --- /dev/null +++ "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" Binary files differ diff --git "a/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" "b/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" new file mode 100644 index 0000000..d050e49 --- /dev/null +++ "b/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" Binary files differ diff --git "a/public/static/images/dev-\347\256\241\347\233\257.png" "b/public/static/images/dev-\347\256\241\347\233\257.png" new file mode 100644 index 0000000..96f8e94 --- /dev/null +++ "b/public/static/images/dev-\347\256\241\347\233\257.png" Binary files differ diff --git a/public/static/images/dev.png b/public/static/images/dev.png new file mode 100644 index 0000000..6dbf993 --- /dev/null +++ b/public/static/images/dev.png Binary files differ diff --git a/public/config/mars3dConfig.json b/public/config/mars3dConfig.json index 6e24067..29a3c40 100644 --- a/public/config/mars3dConfig.json +++ b/public/config/mars3dConfig.json @@ -30,7 +30,7 @@ "basemaps": [ { "pid": 10, - "id": 1111, + "id": 1112, "name": "天地图", "type": "group", "layers": [ @@ -39,7 +39,7 @@ ] }, { - "id": 1112, + "id": 1111, "pid": 10, "name": "天地图电子", "icon": "http://mars3d.cn/example/img/basemaps/tdt_vec.png", @@ -59,5 +59,25 @@ "key": ["216ee92889e17ab1b083fae665d522b8"], "show": true } + ], + "layers": [ + { + "type": "geojson", + "id": "building", + "url": "http://111.198.10.15:11404/3d/zqBuilding.json", + "symbol": { + "type": "polygonP", + "styleOptions": { + "color": "rgb(52,125,246)", + "outline": false, + "opacity": 0.8 + } + }, + "buildings": { + "height": 100 + }, + "popup": "{name}", + "show": true + } ] } diff --git a/public/config/project.config.json b/public/config/project.config.json index 54c91c6..69da0af 100644 --- a/public/config/project.config.json +++ b/public/config/project.config.json @@ -3,12 +3,13 @@ "subtitle": "", "theme":"blue", "baseUrl": "http://60.208.121.150:5001/", - "wsUrl": "ws://60.208.121.150:5001/websocket", + "wsUrl": "ws://60.208.121.150:5001/websocket/", "mainPage": "http://111.198.10.15:11404/dcms/#", "amapSecurityCode": "182a2c5889f7fe6d90546d9b8f4781ad", "amapKey": "1733551f35b56f6d8e9c0a9d4c2523b", "mapType": "gaode", "alarmSound": true, + "refreshTime": 60, "singleSys": true, "refreshType":"websocket", "showPointType":"massMarkers", @@ -16,5 +17,6 @@ "provinceCode":"360000", "cityCode":"361000", "areaCode":"361024", - "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqRq/MapServer/" + "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zq_GxData0825/MapServer/", + "buildingUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqBuilding/MapServer/0" } diff --git "a/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" new file mode 100644 index 0000000..0d95cba --- /dev/null +++ "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" Binary files differ diff --git "a/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" "b/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" new file mode 100644 index 0000000..d050e49 --- /dev/null +++ "b/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" Binary files differ diff --git "a/public/static/images/dev-\347\256\241\347\233\257.png" "b/public/static/images/dev-\347\256\241\347\233\257.png" new file mode 100644 index 0000000..96f8e94 --- /dev/null +++ "b/public/static/images/dev-\347\256\241\347\233\257.png" Binary files differ diff --git a/public/static/images/dev.png b/public/static/images/dev.png new file mode 100644 index 0000000..6dbf993 --- /dev/null +++ b/public/static/images/dev.png Binary files differ diff --git "a/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" "b/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" new file mode 100644 index 0000000..ffc5bb8 --- /dev/null +++ "b/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" Binary files differ diff --git a/public/config/mars3dConfig.json b/public/config/mars3dConfig.json index 6e24067..29a3c40 100644 --- a/public/config/mars3dConfig.json +++ b/public/config/mars3dConfig.json @@ -30,7 +30,7 @@ "basemaps": [ { "pid": 10, - "id": 1111, + "id": 1112, "name": "天地图", "type": "group", "layers": [ @@ -39,7 +39,7 @@ ] }, { - "id": 1112, + "id": 1111, "pid": 10, "name": "天地图电子", "icon": "http://mars3d.cn/example/img/basemaps/tdt_vec.png", @@ -59,5 +59,25 @@ "key": ["216ee92889e17ab1b083fae665d522b8"], "show": true } + ], + "layers": [ + { + "type": "geojson", + "id": "building", + "url": "http://111.198.10.15:11404/3d/zqBuilding.json", + "symbol": { + "type": "polygonP", + "styleOptions": { + "color": "rgb(52,125,246)", + "outline": false, + "opacity": 0.8 + } + }, + "buildings": { + "height": 100 + }, + "popup": "{name}", + "show": true + } ] } diff --git a/public/config/project.config.json b/public/config/project.config.json index 54c91c6..69da0af 100644 --- a/public/config/project.config.json +++ b/public/config/project.config.json @@ -3,12 +3,13 @@ "subtitle": "", "theme":"blue", "baseUrl": "http://60.208.121.150:5001/", - "wsUrl": "ws://60.208.121.150:5001/websocket", + "wsUrl": "ws://60.208.121.150:5001/websocket/", "mainPage": "http://111.198.10.15:11404/dcms/#", "amapSecurityCode": "182a2c5889f7fe6d90546d9b8f4781ad", "amapKey": "1733551f35b56f6d8e9c0a9d4c2523b", "mapType": "gaode", "alarmSound": true, + "refreshTime": 60, "singleSys": true, "refreshType":"websocket", "showPointType":"massMarkers", @@ -16,5 +17,6 @@ "provinceCode":"360000", "cityCode":"361000", "areaCode":"361024", - "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqRq/MapServer/" + "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zq_GxData0825/MapServer/", + "buildingUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqBuilding/MapServer/0" } diff --git "a/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" new file mode 100644 index 0000000..0d95cba --- /dev/null +++ "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" Binary files differ diff --git "a/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" "b/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" new file mode 100644 index 0000000..d050e49 --- /dev/null +++ "b/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" Binary files differ diff --git "a/public/static/images/dev-\347\256\241\347\233\257.png" "b/public/static/images/dev-\347\256\241\347\233\257.png" new file mode 100644 index 0000000..96f8e94 --- /dev/null +++ "b/public/static/images/dev-\347\256\241\347\233\257.png" Binary files differ diff --git a/public/static/images/dev.png b/public/static/images/dev.png new file mode 100644 index 0000000..6dbf993 --- /dev/null +++ b/public/static/images/dev.png Binary files differ diff --git "a/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" "b/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" new file mode 100644 index 0000000..ffc5bb8 --- /dev/null +++ "b/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" "b/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" new file mode 100644 index 0000000..420106b --- /dev/null +++ "b/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" Binary files differ diff --git a/public/config/mars3dConfig.json b/public/config/mars3dConfig.json index 6e24067..29a3c40 100644 --- a/public/config/mars3dConfig.json +++ b/public/config/mars3dConfig.json @@ -30,7 +30,7 @@ "basemaps": [ { "pid": 10, - "id": 1111, + "id": 1112, "name": "天地图", "type": "group", "layers": [ @@ -39,7 +39,7 @@ ] }, { - "id": 1112, + "id": 1111, "pid": 10, "name": "天地图电子", "icon": "http://mars3d.cn/example/img/basemaps/tdt_vec.png", @@ -59,5 +59,25 @@ "key": ["216ee92889e17ab1b083fae665d522b8"], "show": true } + ], + "layers": [ + { + "type": "geojson", + "id": "building", + "url": "http://111.198.10.15:11404/3d/zqBuilding.json", + "symbol": { + "type": "polygonP", + "styleOptions": { + "color": "rgb(52,125,246)", + "outline": false, + "opacity": 0.8 + } + }, + "buildings": { + "height": 100 + }, + "popup": "{name}", + "show": true + } ] } diff --git a/public/config/project.config.json b/public/config/project.config.json index 54c91c6..69da0af 100644 --- a/public/config/project.config.json +++ b/public/config/project.config.json @@ -3,12 +3,13 @@ "subtitle": "", "theme":"blue", "baseUrl": "http://60.208.121.150:5001/", - "wsUrl": "ws://60.208.121.150:5001/websocket", + "wsUrl": "ws://60.208.121.150:5001/websocket/", "mainPage": "http://111.198.10.15:11404/dcms/#", "amapSecurityCode": "182a2c5889f7fe6d90546d9b8f4781ad", "amapKey": "1733551f35b56f6d8e9c0a9d4c2523b", "mapType": "gaode", "alarmSound": true, + "refreshTime": 60, "singleSys": true, "refreshType":"websocket", "showPointType":"massMarkers", @@ -16,5 +17,6 @@ "provinceCode":"360000", "cityCode":"361000", "areaCode":"361024", - "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqRq/MapServer/" + "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zq_GxData0825/MapServer/", + "buildingUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqBuilding/MapServer/0" } diff --git "a/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" new file mode 100644 index 0000000..0d95cba --- /dev/null +++ "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" Binary files differ diff --git "a/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" "b/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" new file mode 100644 index 0000000..d050e49 --- /dev/null +++ "b/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" Binary files differ diff --git "a/public/static/images/dev-\347\256\241\347\233\257.png" "b/public/static/images/dev-\347\256\241\347\233\257.png" new file mode 100644 index 0000000..96f8e94 --- /dev/null +++ "b/public/static/images/dev-\347\256\241\347\233\257.png" Binary files differ diff --git a/public/static/images/dev.png b/public/static/images/dev.png new file mode 100644 index 0000000..6dbf993 --- /dev/null +++ b/public/static/images/dev.png Binary files differ diff --git "a/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" "b/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" new file mode 100644 index 0000000..ffc5bb8 --- /dev/null +++ "b/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" "b/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" new file mode 100644 index 0000000..420106b --- /dev/null +++ "b/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\350\260\203\345\216\213\347\256\261.png" "b/public/static/images/\347\207\203\346\260\224\350\260\203\345\216\213\347\256\261.png" new file mode 100644 index 0000000..8f94d81 --- /dev/null +++ "b/public/static/images/\347\207\203\346\260\224\350\260\203\345\216\213\347\256\261.png" Binary files differ diff --git a/public/config/mars3dConfig.json b/public/config/mars3dConfig.json index 6e24067..29a3c40 100644 --- a/public/config/mars3dConfig.json +++ b/public/config/mars3dConfig.json @@ -30,7 +30,7 @@ "basemaps": [ { "pid": 10, - "id": 1111, + "id": 1112, "name": "天地图", "type": "group", "layers": [ @@ -39,7 +39,7 @@ ] }, { - "id": 1112, + "id": 1111, "pid": 10, "name": "天地图电子", "icon": "http://mars3d.cn/example/img/basemaps/tdt_vec.png", @@ -59,5 +59,25 @@ "key": ["216ee92889e17ab1b083fae665d522b8"], "show": true } + ], + "layers": [ + { + "type": "geojson", + "id": "building", + "url": "http://111.198.10.15:11404/3d/zqBuilding.json", + "symbol": { + "type": "polygonP", + "styleOptions": { + "color": "rgb(52,125,246)", + "outline": false, + "opacity": 0.8 + } + }, + "buildings": { + "height": 100 + }, + "popup": "{name}", + "show": true + } ] } diff --git a/public/config/project.config.json b/public/config/project.config.json index 54c91c6..69da0af 100644 --- a/public/config/project.config.json +++ b/public/config/project.config.json @@ -3,12 +3,13 @@ "subtitle": "", "theme":"blue", "baseUrl": "http://60.208.121.150:5001/", - "wsUrl": "ws://60.208.121.150:5001/websocket", + "wsUrl": "ws://60.208.121.150:5001/websocket/", "mainPage": "http://111.198.10.15:11404/dcms/#", "amapSecurityCode": "182a2c5889f7fe6d90546d9b8f4781ad", "amapKey": "1733551f35b56f6d8e9c0a9d4c2523b", "mapType": "gaode", "alarmSound": true, + "refreshTime": 60, "singleSys": true, "refreshType":"websocket", "showPointType":"massMarkers", @@ -16,5 +17,6 @@ "provinceCode":"360000", "cityCode":"361000", "areaCode":"361024", - "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqRq/MapServer/" + "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zq_GxData0825/MapServer/", + "buildingUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqBuilding/MapServer/0" } diff --git "a/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" new file mode 100644 index 0000000..0d95cba --- /dev/null +++ "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" Binary files differ diff --git "a/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" "b/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" new file mode 100644 index 0000000..d050e49 --- /dev/null +++ "b/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" Binary files differ diff --git "a/public/static/images/dev-\347\256\241\347\233\257.png" "b/public/static/images/dev-\347\256\241\347\233\257.png" new file mode 100644 index 0000000..96f8e94 --- /dev/null +++ "b/public/static/images/dev-\347\256\241\347\233\257.png" Binary files differ diff --git a/public/static/images/dev.png b/public/static/images/dev.png new file mode 100644 index 0000000..6dbf993 --- /dev/null +++ b/public/static/images/dev.png Binary files differ diff --git "a/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" "b/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" new file mode 100644 index 0000000..ffc5bb8 --- /dev/null +++ "b/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" "b/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" new file mode 100644 index 0000000..420106b --- /dev/null +++ "b/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\350\260\203\345\216\213\347\256\261.png" "b/public/static/images/\347\207\203\346\260\224\350\260\203\345\216\213\347\256\261.png" new file mode 100644 index 0000000..8f94d81 --- /dev/null +++ "b/public/static/images/\347\207\203\346\260\224\350\260\203\345\216\213\347\256\261.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\351\230\200\351\227\250\344\272\225.png" "b/public/static/images/\347\207\203\346\260\224\351\230\200\351\227\250\344\272\225.png" new file mode 100644 index 0000000..8f94d81 --- /dev/null +++ "b/public/static/images/\347\207\203\346\260\224\351\230\200\351\227\250\344\272\225.png" Binary files differ diff --git a/public/config/mars3dConfig.json b/public/config/mars3dConfig.json index 6e24067..29a3c40 100644 --- a/public/config/mars3dConfig.json +++ b/public/config/mars3dConfig.json @@ -30,7 +30,7 @@ "basemaps": [ { "pid": 10, - "id": 1111, + "id": 1112, "name": "天地图", "type": "group", "layers": [ @@ -39,7 +39,7 @@ ] }, { - "id": 1112, + "id": 1111, "pid": 10, "name": "天地图电子", "icon": "http://mars3d.cn/example/img/basemaps/tdt_vec.png", @@ -59,5 +59,25 @@ "key": ["216ee92889e17ab1b083fae665d522b8"], "show": true } + ], + "layers": [ + { + "type": "geojson", + "id": "building", + "url": "http://111.198.10.15:11404/3d/zqBuilding.json", + "symbol": { + "type": "polygonP", + "styleOptions": { + "color": "rgb(52,125,246)", + "outline": false, + "opacity": 0.8 + } + }, + "buildings": { + "height": 100 + }, + "popup": "{name}", + "show": true + } ] } diff --git a/public/config/project.config.json b/public/config/project.config.json index 54c91c6..69da0af 100644 --- a/public/config/project.config.json +++ b/public/config/project.config.json @@ -3,12 +3,13 @@ "subtitle": "", "theme":"blue", "baseUrl": "http://60.208.121.150:5001/", - "wsUrl": "ws://60.208.121.150:5001/websocket", + "wsUrl": "ws://60.208.121.150:5001/websocket/", "mainPage": "http://111.198.10.15:11404/dcms/#", "amapSecurityCode": "182a2c5889f7fe6d90546d9b8f4781ad", "amapKey": "1733551f35b56f6d8e9c0a9d4c2523b", "mapType": "gaode", "alarmSound": true, + "refreshTime": 60, "singleSys": true, "refreshType":"websocket", "showPointType":"massMarkers", @@ -16,5 +17,6 @@ "provinceCode":"360000", "cityCode":"361000", "areaCode":"361024", - "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqRq/MapServer/" + "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zq_GxData0825/MapServer/", + "buildingUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqBuilding/MapServer/0" } diff --git "a/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" new file mode 100644 index 0000000..0d95cba --- /dev/null +++ "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" Binary files differ diff --git "a/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" "b/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" new file mode 100644 index 0000000..d050e49 --- /dev/null +++ "b/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" Binary files differ diff --git "a/public/static/images/dev-\347\256\241\347\233\257.png" "b/public/static/images/dev-\347\256\241\347\233\257.png" new file mode 100644 index 0000000..96f8e94 --- /dev/null +++ "b/public/static/images/dev-\347\256\241\347\233\257.png" Binary files differ diff --git a/public/static/images/dev.png b/public/static/images/dev.png new file mode 100644 index 0000000..6dbf993 --- /dev/null +++ b/public/static/images/dev.png Binary files differ diff --git "a/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" "b/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" new file mode 100644 index 0000000..ffc5bb8 --- /dev/null +++ "b/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" "b/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" new file mode 100644 index 0000000..420106b --- /dev/null +++ "b/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\350\260\203\345\216\213\347\256\261.png" "b/public/static/images/\347\207\203\346\260\224\350\260\203\345\216\213\347\256\261.png" new file mode 100644 index 0000000..8f94d81 --- /dev/null +++ "b/public/static/images/\347\207\203\346\260\224\350\260\203\345\216\213\347\256\261.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\351\230\200\351\227\250\344\272\225.png" "b/public/static/images/\347\207\203\346\260\224\351\230\200\351\227\250\344\272\225.png" new file mode 100644 index 0000000..8f94d81 --- /dev/null +++ "b/public/static/images/\347\207\203\346\260\224\351\230\200\351\227\250\344\272\225.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\351\231\204\345\261\236\347\211\251.png" "b/public/static/images/\347\207\203\346\260\224\351\231\204\345\261\236\347\211\251.png" deleted file mode 100644 index 8f94d81..0000000 --- "a/public/static/images/\347\207\203\346\260\224\351\231\204\345\261\236\347\211\251.png" +++ /dev/null Binary files differ diff --git a/public/config/mars3dConfig.json b/public/config/mars3dConfig.json index 6e24067..29a3c40 100644 --- a/public/config/mars3dConfig.json +++ b/public/config/mars3dConfig.json @@ -30,7 +30,7 @@ "basemaps": [ { "pid": 10, - "id": 1111, + "id": 1112, "name": "天地图", "type": "group", "layers": [ @@ -39,7 +39,7 @@ ] }, { - "id": 1112, + "id": 1111, "pid": 10, "name": "天地图电子", "icon": "http://mars3d.cn/example/img/basemaps/tdt_vec.png", @@ -59,5 +59,25 @@ "key": ["216ee92889e17ab1b083fae665d522b8"], "show": true } + ], + "layers": [ + { + "type": "geojson", + "id": "building", + "url": "http://111.198.10.15:11404/3d/zqBuilding.json", + "symbol": { + "type": "polygonP", + "styleOptions": { + "color": "rgb(52,125,246)", + "outline": false, + "opacity": 0.8 + } + }, + "buildings": { + "height": 100 + }, + "popup": "{name}", + "show": true + } ] } diff --git a/public/config/project.config.json b/public/config/project.config.json index 54c91c6..69da0af 100644 --- a/public/config/project.config.json +++ b/public/config/project.config.json @@ -3,12 +3,13 @@ "subtitle": "", "theme":"blue", "baseUrl": "http://60.208.121.150:5001/", - "wsUrl": "ws://60.208.121.150:5001/websocket", + "wsUrl": "ws://60.208.121.150:5001/websocket/", "mainPage": "http://111.198.10.15:11404/dcms/#", "amapSecurityCode": "182a2c5889f7fe6d90546d9b8f4781ad", "amapKey": "1733551f35b56f6d8e9c0a9d4c2523b", "mapType": "gaode", "alarmSound": true, + "refreshTime": 60, "singleSys": true, "refreshType":"websocket", "showPointType":"massMarkers", @@ -16,5 +17,6 @@ "provinceCode":"360000", "cityCode":"361000", "areaCode":"361024", - "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqRq/MapServer/" + "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zq_GxData0825/MapServer/", + "buildingUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqBuilding/MapServer/0" } diff --git "a/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" new file mode 100644 index 0000000..0d95cba --- /dev/null +++ "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" Binary files differ diff --git "a/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" "b/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" new file mode 100644 index 0000000..d050e49 --- /dev/null +++ "b/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" Binary files differ diff --git "a/public/static/images/dev-\347\256\241\347\233\257.png" "b/public/static/images/dev-\347\256\241\347\233\257.png" new file mode 100644 index 0000000..96f8e94 --- /dev/null +++ "b/public/static/images/dev-\347\256\241\347\233\257.png" Binary files differ diff --git a/public/static/images/dev.png b/public/static/images/dev.png new file mode 100644 index 0000000..6dbf993 --- /dev/null +++ b/public/static/images/dev.png Binary files differ diff --git "a/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" "b/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" new file mode 100644 index 0000000..ffc5bb8 --- /dev/null +++ "b/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" "b/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" new file mode 100644 index 0000000..420106b --- /dev/null +++ "b/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\350\260\203\345\216\213\347\256\261.png" "b/public/static/images/\347\207\203\346\260\224\350\260\203\345\216\213\347\256\261.png" new file mode 100644 index 0000000..8f94d81 --- /dev/null +++ "b/public/static/images/\347\207\203\346\260\224\350\260\203\345\216\213\347\256\261.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\351\230\200\351\227\250\344\272\225.png" "b/public/static/images/\347\207\203\346\260\224\351\230\200\351\227\250\344\272\225.png" new file mode 100644 index 0000000..8f94d81 --- /dev/null +++ "b/public/static/images/\347\207\203\346\260\224\351\230\200\351\227\250\344\272\225.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\351\231\204\345\261\236\347\211\251.png" "b/public/static/images/\347\207\203\346\260\224\351\231\204\345\261\236\347\211\251.png" deleted file mode 100644 index 8f94d81..0000000 --- "a/public/static/images/\347\207\203\346\260\224\351\231\204\345\261\236\347\211\251.png" +++ /dev/null Binary files differ diff --git "a/public/static/images/\347\256\241\347\233\257.png" "b/public/static/images/\347\256\241\347\233\257.png" new file mode 100644 index 0000000..c322117 --- /dev/null +++ "b/public/static/images/\347\256\241\347\233\257.png" Binary files differ diff --git a/public/config/mars3dConfig.json b/public/config/mars3dConfig.json index 6e24067..29a3c40 100644 --- a/public/config/mars3dConfig.json +++ b/public/config/mars3dConfig.json @@ -30,7 +30,7 @@ "basemaps": [ { "pid": 10, - "id": 1111, + "id": 1112, "name": "天地图", "type": "group", "layers": [ @@ -39,7 +39,7 @@ ] }, { - "id": 1112, + "id": 1111, "pid": 10, "name": "天地图电子", "icon": "http://mars3d.cn/example/img/basemaps/tdt_vec.png", @@ -59,5 +59,25 @@ "key": ["216ee92889e17ab1b083fae665d522b8"], "show": true } + ], + "layers": [ + { + "type": "geojson", + "id": "building", + "url": "http://111.198.10.15:11404/3d/zqBuilding.json", + "symbol": { + "type": "polygonP", + "styleOptions": { + "color": "rgb(52,125,246)", + "outline": false, + "opacity": 0.8 + } + }, + "buildings": { + "height": 100 + }, + "popup": "{name}", + "show": true + } ] } diff --git a/public/config/project.config.json b/public/config/project.config.json index 54c91c6..69da0af 100644 --- a/public/config/project.config.json +++ b/public/config/project.config.json @@ -3,12 +3,13 @@ "subtitle": "", "theme":"blue", "baseUrl": "http://60.208.121.150:5001/", - "wsUrl": "ws://60.208.121.150:5001/websocket", + "wsUrl": "ws://60.208.121.150:5001/websocket/", "mainPage": "http://111.198.10.15:11404/dcms/#", "amapSecurityCode": "182a2c5889f7fe6d90546d9b8f4781ad", "amapKey": "1733551f35b56f6d8e9c0a9d4c2523b", "mapType": "gaode", "alarmSound": true, + "refreshTime": 60, "singleSys": true, "refreshType":"websocket", "showPointType":"massMarkers", @@ -16,5 +17,6 @@ "provinceCode":"360000", "cityCode":"361000", "areaCode":"361024", - "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqRq/MapServer/" + "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zq_GxData0825/MapServer/", + "buildingUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqBuilding/MapServer/0" } diff --git "a/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" new file mode 100644 index 0000000..0d95cba --- /dev/null +++ "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" Binary files differ diff --git "a/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" "b/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" new file mode 100644 index 0000000..d050e49 --- /dev/null +++ "b/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" Binary files differ diff --git "a/public/static/images/dev-\347\256\241\347\233\257.png" "b/public/static/images/dev-\347\256\241\347\233\257.png" new file mode 100644 index 0000000..96f8e94 --- /dev/null +++ "b/public/static/images/dev-\347\256\241\347\233\257.png" Binary files differ diff --git a/public/static/images/dev.png b/public/static/images/dev.png new file mode 100644 index 0000000..6dbf993 --- /dev/null +++ b/public/static/images/dev.png Binary files differ diff --git "a/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" "b/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" new file mode 100644 index 0000000..ffc5bb8 --- /dev/null +++ "b/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" "b/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" new file mode 100644 index 0000000..420106b --- /dev/null +++ "b/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\350\260\203\345\216\213\347\256\261.png" "b/public/static/images/\347\207\203\346\260\224\350\260\203\345\216\213\347\256\261.png" new file mode 100644 index 0000000..8f94d81 --- /dev/null +++ "b/public/static/images/\347\207\203\346\260\224\350\260\203\345\216\213\347\256\261.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\351\230\200\351\227\250\344\272\225.png" "b/public/static/images/\347\207\203\346\260\224\351\230\200\351\227\250\344\272\225.png" new file mode 100644 index 0000000..8f94d81 --- /dev/null +++ "b/public/static/images/\347\207\203\346\260\224\351\230\200\351\227\250\344\272\225.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\351\231\204\345\261\236\347\211\251.png" "b/public/static/images/\347\207\203\346\260\224\351\231\204\345\261\236\347\211\251.png" deleted file mode 100644 index 8f94d81..0000000 --- "a/public/static/images/\347\207\203\346\260\224\351\231\204\345\261\236\347\211\251.png" +++ /dev/null Binary files differ diff --git "a/public/static/images/\347\256\241\347\233\257.png" "b/public/static/images/\347\256\241\347\233\257.png" new file mode 100644 index 0000000..c322117 --- /dev/null +++ "b/public/static/images/\347\256\241\347\233\257.png" Binary files differ diff --git a/src/components/Mars3D/Mars3dMap.vue b/src/components/Mars3D/Mars3dMap.vue index b6ba864..d7238e6 100644 --- a/src/components/Mars3D/Mars3dMap.vue +++ b/src/components/Mars3D/Mars3dMap.vue @@ -2,14 +2,19 @@
diff --git a/public/config/mars3dConfig.json b/public/config/mars3dConfig.json index 6e24067..29a3c40 100644 --- a/public/config/mars3dConfig.json +++ b/public/config/mars3dConfig.json @@ -30,7 +30,7 @@ "basemaps": [ { "pid": 10, - "id": 1111, + "id": 1112, "name": "天地图", "type": "group", "layers": [ @@ -39,7 +39,7 @@ ] }, { - "id": 1112, + "id": 1111, "pid": 10, "name": "天地图电子", "icon": "http://mars3d.cn/example/img/basemaps/tdt_vec.png", @@ -59,5 +59,25 @@ "key": ["216ee92889e17ab1b083fae665d522b8"], "show": true } + ], + "layers": [ + { + "type": "geojson", + "id": "building", + "url": "http://111.198.10.15:11404/3d/zqBuilding.json", + "symbol": { + "type": "polygonP", + "styleOptions": { + "color": "rgb(52,125,246)", + "outline": false, + "opacity": 0.8 + } + }, + "buildings": { + "height": 100 + }, + "popup": "{name}", + "show": true + } ] } diff --git a/public/config/project.config.json b/public/config/project.config.json index 54c91c6..69da0af 100644 --- a/public/config/project.config.json +++ b/public/config/project.config.json @@ -3,12 +3,13 @@ "subtitle": "", "theme":"blue", "baseUrl": "http://60.208.121.150:5001/", - "wsUrl": "ws://60.208.121.150:5001/websocket", + "wsUrl": "ws://60.208.121.150:5001/websocket/", "mainPage": "http://111.198.10.15:11404/dcms/#", "amapSecurityCode": "182a2c5889f7fe6d90546d9b8f4781ad", "amapKey": "1733551f35b56f6d8e9c0a9d4c2523b", "mapType": "gaode", "alarmSound": true, + "refreshTime": 60, "singleSys": true, "refreshType":"websocket", "showPointType":"massMarkers", @@ -16,5 +17,6 @@ "provinceCode":"360000", "cityCode":"361000", "areaCode":"361024", - "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqRq/MapServer/" + "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zq_GxData0825/MapServer/", + "buildingUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqBuilding/MapServer/0" } diff --git "a/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" new file mode 100644 index 0000000..0d95cba --- /dev/null +++ "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" Binary files differ diff --git "a/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" "b/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" new file mode 100644 index 0000000..d050e49 --- /dev/null +++ "b/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" Binary files differ diff --git "a/public/static/images/dev-\347\256\241\347\233\257.png" "b/public/static/images/dev-\347\256\241\347\233\257.png" new file mode 100644 index 0000000..96f8e94 --- /dev/null +++ "b/public/static/images/dev-\347\256\241\347\233\257.png" Binary files differ diff --git a/public/static/images/dev.png b/public/static/images/dev.png new file mode 100644 index 0000000..6dbf993 --- /dev/null +++ b/public/static/images/dev.png Binary files differ diff --git "a/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" "b/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" new file mode 100644 index 0000000..ffc5bb8 --- /dev/null +++ "b/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" "b/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" new file mode 100644 index 0000000..420106b --- /dev/null +++ "b/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\350\260\203\345\216\213\347\256\261.png" "b/public/static/images/\347\207\203\346\260\224\350\260\203\345\216\213\347\256\261.png" new file mode 100644 index 0000000..8f94d81 --- /dev/null +++ "b/public/static/images/\347\207\203\346\260\224\350\260\203\345\216\213\347\256\261.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\351\230\200\351\227\250\344\272\225.png" "b/public/static/images/\347\207\203\346\260\224\351\230\200\351\227\250\344\272\225.png" new file mode 100644 index 0000000..8f94d81 --- /dev/null +++ "b/public/static/images/\347\207\203\346\260\224\351\230\200\351\227\250\344\272\225.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\351\231\204\345\261\236\347\211\251.png" "b/public/static/images/\347\207\203\346\260\224\351\231\204\345\261\236\347\211\251.png" deleted file mode 100644 index 8f94d81..0000000 --- "a/public/static/images/\347\207\203\346\260\224\351\231\204\345\261\236\347\211\251.png" +++ /dev/null Binary files differ diff --git "a/public/static/images/\347\256\241\347\233\257.png" "b/public/static/images/\347\256\241\347\233\257.png" new file mode 100644 index 0000000..c322117 --- /dev/null +++ "b/public/static/images/\347\256\241\347\233\257.png" Binary files differ diff --git a/src/components/Mars3D/Mars3dMap.vue b/src/components/Mars3D/Mars3dMap.vue index b6ba864..d7238e6 100644 --- a/src/components/Mars3D/Mars3dMap.vue +++ b/src/components/Mars3D/Mars3dMap.vue @@ -2,14 +2,19 @@ diff --git a/src/components/Mars3D/utils/ArcGisWfsLayer.js b/src/components/Mars3D/utils/ArcGisWfsLayer.js index 3b6d51a..7ca8399 100644 --- a/src/components/Mars3D/utils/ArcGisWfsLayer.js +++ b/src/components/Mars3D/utils/ArcGisWfsLayer.js @@ -62,3 +62,30 @@ window.map.addLayer(wfsLayer) return wfsLayer } + +/** + * 添加楼宇 + */ +export function building() { + const wfsLayer = new mars3d.layer.ArcGisWfsLayer({ + name: '建筑物面矢量图层', + url: Vue.prototype.baseConfig.buildingUrl, + // minimumLevel: changeLevel, + symbol: { + type: 'polygonC', + styleOptions: { + color: 'rgb(52,125,246)', + outline: false, + opacity: 0.8 + }, + callback: function(attr, styleOpt) { + var val = { attr }.attr + console.log(attr) + } + }, + buildings: { + height: 100 + } + }) + window.map.addLayer(wfsLayer) +} diff --git a/public/config/mars3dConfig.json b/public/config/mars3dConfig.json index 6e24067..29a3c40 100644 --- a/public/config/mars3dConfig.json +++ b/public/config/mars3dConfig.json @@ -30,7 +30,7 @@ "basemaps": [ { "pid": 10, - "id": 1111, + "id": 1112, "name": "天地图", "type": "group", "layers": [ @@ -39,7 +39,7 @@ ] }, { - "id": 1112, + "id": 1111, "pid": 10, "name": "天地图电子", "icon": "http://mars3d.cn/example/img/basemaps/tdt_vec.png", @@ -59,5 +59,25 @@ "key": ["216ee92889e17ab1b083fae665d522b8"], "show": true } + ], + "layers": [ + { + "type": "geojson", + "id": "building", + "url": "http://111.198.10.15:11404/3d/zqBuilding.json", + "symbol": { + "type": "polygonP", + "styleOptions": { + "color": "rgb(52,125,246)", + "outline": false, + "opacity": 0.8 + } + }, + "buildings": { + "height": 100 + }, + "popup": "{name}", + "show": true + } ] } diff --git a/public/config/project.config.json b/public/config/project.config.json index 54c91c6..69da0af 100644 --- a/public/config/project.config.json +++ b/public/config/project.config.json @@ -3,12 +3,13 @@ "subtitle": "", "theme":"blue", "baseUrl": "http://60.208.121.150:5001/", - "wsUrl": "ws://60.208.121.150:5001/websocket", + "wsUrl": "ws://60.208.121.150:5001/websocket/", "mainPage": "http://111.198.10.15:11404/dcms/#", "amapSecurityCode": "182a2c5889f7fe6d90546d9b8f4781ad", "amapKey": "1733551f35b56f6d8e9c0a9d4c2523b", "mapType": "gaode", "alarmSound": true, + "refreshTime": 60, "singleSys": true, "refreshType":"websocket", "showPointType":"massMarkers", @@ -16,5 +17,6 @@ "provinceCode":"360000", "cityCode":"361000", "areaCode":"361024", - "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqRq/MapServer/" + "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zq_GxData0825/MapServer/", + "buildingUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqBuilding/MapServer/0" } diff --git "a/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" new file mode 100644 index 0000000..0d95cba --- /dev/null +++ "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" Binary files differ diff --git "a/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" "b/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" new file mode 100644 index 0000000..d050e49 --- /dev/null +++ "b/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" Binary files differ diff --git "a/public/static/images/dev-\347\256\241\347\233\257.png" "b/public/static/images/dev-\347\256\241\347\233\257.png" new file mode 100644 index 0000000..96f8e94 --- /dev/null +++ "b/public/static/images/dev-\347\256\241\347\233\257.png" Binary files differ diff --git a/public/static/images/dev.png b/public/static/images/dev.png new file mode 100644 index 0000000..6dbf993 --- /dev/null +++ b/public/static/images/dev.png Binary files differ diff --git "a/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" "b/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" new file mode 100644 index 0000000..ffc5bb8 --- /dev/null +++ "b/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" "b/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" new file mode 100644 index 0000000..420106b --- /dev/null +++ "b/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\350\260\203\345\216\213\347\256\261.png" "b/public/static/images/\347\207\203\346\260\224\350\260\203\345\216\213\347\256\261.png" new file mode 100644 index 0000000..8f94d81 --- /dev/null +++ "b/public/static/images/\347\207\203\346\260\224\350\260\203\345\216\213\347\256\261.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\351\230\200\351\227\250\344\272\225.png" "b/public/static/images/\347\207\203\346\260\224\351\230\200\351\227\250\344\272\225.png" new file mode 100644 index 0000000..8f94d81 --- /dev/null +++ "b/public/static/images/\347\207\203\346\260\224\351\230\200\351\227\250\344\272\225.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\351\231\204\345\261\236\347\211\251.png" "b/public/static/images/\347\207\203\346\260\224\351\231\204\345\261\236\347\211\251.png" deleted file mode 100644 index 8f94d81..0000000 --- "a/public/static/images/\347\207\203\346\260\224\351\231\204\345\261\236\347\211\251.png" +++ /dev/null Binary files differ diff --git "a/public/static/images/\347\256\241\347\233\257.png" "b/public/static/images/\347\256\241\347\233\257.png" new file mode 100644 index 0000000..c322117 --- /dev/null +++ "b/public/static/images/\347\256\241\347\233\257.png" Binary files differ diff --git a/src/components/Mars3D/Mars3dMap.vue b/src/components/Mars3D/Mars3dMap.vue index b6ba864..d7238e6 100644 --- a/src/components/Mars3D/Mars3dMap.vue +++ b/src/components/Mars3D/Mars3dMap.vue @@ -2,14 +2,19 @@ diff --git a/src/components/Mars3D/utils/ArcGisWfsLayer.js b/src/components/Mars3D/utils/ArcGisWfsLayer.js index 3b6d51a..7ca8399 100644 --- a/src/components/Mars3D/utils/ArcGisWfsLayer.js +++ b/src/components/Mars3D/utils/ArcGisWfsLayer.js @@ -62,3 +62,30 @@ window.map.addLayer(wfsLayer) return wfsLayer } + +/** + * 添加楼宇 + */ +export function building() { + const wfsLayer = new mars3d.layer.ArcGisWfsLayer({ + name: '建筑物面矢量图层', + url: Vue.prototype.baseConfig.buildingUrl, + // minimumLevel: changeLevel, + symbol: { + type: 'polygonC', + styleOptions: { + color: 'rgb(52,125,246)', + outline: false, + opacity: 0.8 + }, + callback: function(attr, styleOpt) { + var val = { attr }.attr + console.log(attr) + } + }, + buildings: { + height: 100 + } + }) + window.map.addLayer(wfsLayer) +} diff --git a/src/components/Mars3D/utils/GeoJsonLayer.js b/src/components/Mars3D/utils/GeoJsonLayer.js index 65a7e26..51ab972 100644 --- a/src/components/Mars3D/utils/GeoJsonLayer.js +++ b/src/components/Mars3D/utils/GeoJsonLayer.js @@ -149,13 +149,14 @@ duration: 1 }) } - }).on(mars3d.EventType.show, function(event) { - console.log(index, ' show时间(s):', new Date().getSeconds()) - }).on(mars3d.EventType.load, function(event) { - console.log(index, ' load时间(s):', new Date().getSeconds()) - }).on(mars3d.EventType.postRender, function(event) { - console.log(index, ' postRender时间(s):', new Date().getSeconds()) }) + .on(mars3d.EventType.show, function(event) { + console.log(index, ' show时间(s):', new Date().getSeconds()) + }).on(mars3d.EventType.load, function(event) { + console.log(index, ' load时间(s):', new Date().getSeconds()) + }).on(mars3d.EventType.postRender, function(event) { + console.log(index, ' postRender时间(s):', new Date().getSeconds()) + }) window.map.addLayer(layer) queryServer.query({ where: condition, diff --git a/public/config/mars3dConfig.json b/public/config/mars3dConfig.json index 6e24067..29a3c40 100644 --- a/public/config/mars3dConfig.json +++ b/public/config/mars3dConfig.json @@ -30,7 +30,7 @@ "basemaps": [ { "pid": 10, - "id": 1111, + "id": 1112, "name": "天地图", "type": "group", "layers": [ @@ -39,7 +39,7 @@ ] }, { - "id": 1112, + "id": 1111, "pid": 10, "name": "天地图电子", "icon": "http://mars3d.cn/example/img/basemaps/tdt_vec.png", @@ -59,5 +59,25 @@ "key": ["216ee92889e17ab1b083fae665d522b8"], "show": true } + ], + "layers": [ + { + "type": "geojson", + "id": "building", + "url": "http://111.198.10.15:11404/3d/zqBuilding.json", + "symbol": { + "type": "polygonP", + "styleOptions": { + "color": "rgb(52,125,246)", + "outline": false, + "opacity": 0.8 + } + }, + "buildings": { + "height": 100 + }, + "popup": "{name}", + "show": true + } ] } diff --git a/public/config/project.config.json b/public/config/project.config.json index 54c91c6..69da0af 100644 --- a/public/config/project.config.json +++ b/public/config/project.config.json @@ -3,12 +3,13 @@ "subtitle": "", "theme":"blue", "baseUrl": "http://60.208.121.150:5001/", - "wsUrl": "ws://60.208.121.150:5001/websocket", + "wsUrl": "ws://60.208.121.150:5001/websocket/", "mainPage": "http://111.198.10.15:11404/dcms/#", "amapSecurityCode": "182a2c5889f7fe6d90546d9b8f4781ad", "amapKey": "1733551f35b56f6d8e9c0a9d4c2523b", "mapType": "gaode", "alarmSound": true, + "refreshTime": 60, "singleSys": true, "refreshType":"websocket", "showPointType":"massMarkers", @@ -16,5 +17,6 @@ "provinceCode":"360000", "cityCode":"361000", "areaCode":"361024", - "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqRq/MapServer/" + "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zq_GxData0825/MapServer/", + "buildingUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqBuilding/MapServer/0" } diff --git "a/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" new file mode 100644 index 0000000..0d95cba --- /dev/null +++ "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" Binary files differ diff --git "a/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" "b/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" new file mode 100644 index 0000000..d050e49 --- /dev/null +++ "b/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" Binary files differ diff --git "a/public/static/images/dev-\347\256\241\347\233\257.png" "b/public/static/images/dev-\347\256\241\347\233\257.png" new file mode 100644 index 0000000..96f8e94 --- /dev/null +++ "b/public/static/images/dev-\347\256\241\347\233\257.png" Binary files differ diff --git a/public/static/images/dev.png b/public/static/images/dev.png new file mode 100644 index 0000000..6dbf993 --- /dev/null +++ b/public/static/images/dev.png Binary files differ diff --git "a/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" "b/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" new file mode 100644 index 0000000..ffc5bb8 --- /dev/null +++ "b/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" "b/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" new file mode 100644 index 0000000..420106b --- /dev/null +++ "b/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\350\260\203\345\216\213\347\256\261.png" "b/public/static/images/\347\207\203\346\260\224\350\260\203\345\216\213\347\256\261.png" new file mode 100644 index 0000000..8f94d81 --- /dev/null +++ "b/public/static/images/\347\207\203\346\260\224\350\260\203\345\216\213\347\256\261.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\351\230\200\351\227\250\344\272\225.png" "b/public/static/images/\347\207\203\346\260\224\351\230\200\351\227\250\344\272\225.png" new file mode 100644 index 0000000..8f94d81 --- /dev/null +++ "b/public/static/images/\347\207\203\346\260\224\351\230\200\351\227\250\344\272\225.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\351\231\204\345\261\236\347\211\251.png" "b/public/static/images/\347\207\203\346\260\224\351\231\204\345\261\236\347\211\251.png" deleted file mode 100644 index 8f94d81..0000000 --- "a/public/static/images/\347\207\203\346\260\224\351\231\204\345\261\236\347\211\251.png" +++ /dev/null Binary files differ diff --git "a/public/static/images/\347\256\241\347\233\257.png" "b/public/static/images/\347\256\241\347\233\257.png" new file mode 100644 index 0000000..c322117 --- /dev/null +++ "b/public/static/images/\347\256\241\347\233\257.png" Binary files differ diff --git a/src/components/Mars3D/Mars3dMap.vue b/src/components/Mars3D/Mars3dMap.vue index b6ba864..d7238e6 100644 --- a/src/components/Mars3D/Mars3dMap.vue +++ b/src/components/Mars3D/Mars3dMap.vue @@ -2,14 +2,19 @@ diff --git a/src/components/Mars3D/utils/ArcGisWfsLayer.js b/src/components/Mars3D/utils/ArcGisWfsLayer.js index 3b6d51a..7ca8399 100644 --- a/src/components/Mars3D/utils/ArcGisWfsLayer.js +++ b/src/components/Mars3D/utils/ArcGisWfsLayer.js @@ -62,3 +62,30 @@ window.map.addLayer(wfsLayer) return wfsLayer } + +/** + * 添加楼宇 + */ +export function building() { + const wfsLayer = new mars3d.layer.ArcGisWfsLayer({ + name: '建筑物面矢量图层', + url: Vue.prototype.baseConfig.buildingUrl, + // minimumLevel: changeLevel, + symbol: { + type: 'polygonC', + styleOptions: { + color: 'rgb(52,125,246)', + outline: false, + opacity: 0.8 + }, + callback: function(attr, styleOpt) { + var val = { attr }.attr + console.log(attr) + } + }, + buildings: { + height: 100 + } + }) + window.map.addLayer(wfsLayer) +} diff --git a/src/components/Mars3D/utils/GeoJsonLayer.js b/src/components/Mars3D/utils/GeoJsonLayer.js index 65a7e26..51ab972 100644 --- a/src/components/Mars3D/utils/GeoJsonLayer.js +++ b/src/components/Mars3D/utils/GeoJsonLayer.js @@ -149,13 +149,14 @@ duration: 1 }) } - }).on(mars3d.EventType.show, function(event) { - console.log(index, ' show时间(s):', new Date().getSeconds()) - }).on(mars3d.EventType.load, function(event) { - console.log(index, ' load时间(s):', new Date().getSeconds()) - }).on(mars3d.EventType.postRender, function(event) { - console.log(index, ' postRender时间(s):', new Date().getSeconds()) }) + .on(mars3d.EventType.show, function(event) { + console.log(index, ' show时间(s):', new Date().getSeconds()) + }).on(mars3d.EventType.load, function(event) { + console.log(index, ' load时间(s):', new Date().getSeconds()) + }).on(mars3d.EventType.postRender, function(event) { + console.log(index, ' postRender时间(s):', new Date().getSeconds()) + }) window.map.addLayer(layer) queryServer.query({ where: condition, diff --git a/src/components/Mars3D/utils/GraphicLayer.js b/src/components/Mars3D/utils/GraphicLayer.js new file mode 100644 index 0000000..0e352bb --- /dev/null +++ b/src/components/Mars3D/utils/GraphicLayer.js @@ -0,0 +1,67 @@ +import * as mars3d from 'mars3d' +import Vue from 'vue' + +/** + * 四面体 + * @param graphicLayer + * @param position + * @param attr + */ +export function Tetrahedron(graphicLayer, position, attr, style = {}) { + const tetrahedronPrimitive = new mars3d.graphic.Tetrahedron({ + position: position, + style: { + width: 8, + height: 15, + color: 'rgba(255,0,0,0.7)', + moveHeight: 50 + }, + attr: attr + }) + graphicLayer.addGraphic(tetrahedronPrimitive) +} +export function randomPoint(minJD, maxJD, minWD, maxWD) { + // 114.882505, 25.778006, 0] + // const jd = random(114.84 * 1000, 114.89 * 1000) / 1000 + // const wd = random(25.76 * 1000, 25.81 * 1000) / 1000 + const jd = random(minJD * 1000, maxJD * 1000) / 1000 + const wd = random(minWD * 1000, maxWD * 1000) / 1000 + return new mars3d.LngLatPoint(jd, wd, 100) +} + +export function random(min, max) { + return Math.floor(Math.random() * (max - min + 1) + min) +} + +/** + * 垂直飞线 + * @constructor + */ + +export function FlyLine(graphicLayer, minJD, maxJD, minWD, maxWD) { + const arrData = [] + for (let j = 0; j < 100; ++j) { + const startPt = randomPoint(minJD, maxJD, minWD, maxWD) + const endPt = startPt.clone() + endPt.alt = random(1000, 2000) + + arrData.push({ + positions: [startPt, endPt], + style: { + width: 1, + materialType: mars3d.MaterialType.LineFlowColor, + materialOptions: { + color: 'rgb(141,172,172)', + speed: random(5, 10), + startTime: random(1000, 3000), + percent: 0.1, + alpha: 0.01 + } + } + }) + } + const upPoly = new mars3d.graphic.PolylineCombine({ + instances: arrData + }) + graphicLayer.addGraphic(upPoly) +} diff --git a/public/config/mars3dConfig.json b/public/config/mars3dConfig.json index 6e24067..29a3c40 100644 --- a/public/config/mars3dConfig.json +++ b/public/config/mars3dConfig.json @@ -30,7 +30,7 @@ "basemaps": [ { "pid": 10, - "id": 1111, + "id": 1112, "name": "天地图", "type": "group", "layers": [ @@ -39,7 +39,7 @@ ] }, { - "id": 1112, + "id": 1111, "pid": 10, "name": "天地图电子", "icon": "http://mars3d.cn/example/img/basemaps/tdt_vec.png", @@ -59,5 +59,25 @@ "key": ["216ee92889e17ab1b083fae665d522b8"], "show": true } + ], + "layers": [ + { + "type": "geojson", + "id": "building", + "url": "http://111.198.10.15:11404/3d/zqBuilding.json", + "symbol": { + "type": "polygonP", + "styleOptions": { + "color": "rgb(52,125,246)", + "outline": false, + "opacity": 0.8 + } + }, + "buildings": { + "height": 100 + }, + "popup": "{name}", + "show": true + } ] } diff --git a/public/config/project.config.json b/public/config/project.config.json index 54c91c6..69da0af 100644 --- a/public/config/project.config.json +++ b/public/config/project.config.json @@ -3,12 +3,13 @@ "subtitle": "", "theme":"blue", "baseUrl": "http://60.208.121.150:5001/", - "wsUrl": "ws://60.208.121.150:5001/websocket", + "wsUrl": "ws://60.208.121.150:5001/websocket/", "mainPage": "http://111.198.10.15:11404/dcms/#", "amapSecurityCode": "182a2c5889f7fe6d90546d9b8f4781ad", "amapKey": "1733551f35b56f6d8e9c0a9d4c2523b", "mapType": "gaode", "alarmSound": true, + "refreshTime": 60, "singleSys": true, "refreshType":"websocket", "showPointType":"massMarkers", @@ -16,5 +17,6 @@ "provinceCode":"360000", "cityCode":"361000", "areaCode":"361024", - "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqRq/MapServer/" + "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zq_GxData0825/MapServer/", + "buildingUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqBuilding/MapServer/0" } diff --git "a/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" new file mode 100644 index 0000000..0d95cba --- /dev/null +++ "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" Binary files differ diff --git "a/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" "b/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" new file mode 100644 index 0000000..d050e49 --- /dev/null +++ "b/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" Binary files differ diff --git "a/public/static/images/dev-\347\256\241\347\233\257.png" "b/public/static/images/dev-\347\256\241\347\233\257.png" new file mode 100644 index 0000000..96f8e94 --- /dev/null +++ "b/public/static/images/dev-\347\256\241\347\233\257.png" Binary files differ diff --git a/public/static/images/dev.png b/public/static/images/dev.png new file mode 100644 index 0000000..6dbf993 --- /dev/null +++ b/public/static/images/dev.png Binary files differ diff --git "a/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" "b/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" new file mode 100644 index 0000000..ffc5bb8 --- /dev/null +++ "b/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" "b/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" new file mode 100644 index 0000000..420106b --- /dev/null +++ "b/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\350\260\203\345\216\213\347\256\261.png" "b/public/static/images/\347\207\203\346\260\224\350\260\203\345\216\213\347\256\261.png" new file mode 100644 index 0000000..8f94d81 --- /dev/null +++ "b/public/static/images/\347\207\203\346\260\224\350\260\203\345\216\213\347\256\261.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\351\230\200\351\227\250\344\272\225.png" "b/public/static/images/\347\207\203\346\260\224\351\230\200\351\227\250\344\272\225.png" new file mode 100644 index 0000000..8f94d81 --- /dev/null +++ "b/public/static/images/\347\207\203\346\260\224\351\230\200\351\227\250\344\272\225.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\351\231\204\345\261\236\347\211\251.png" "b/public/static/images/\347\207\203\346\260\224\351\231\204\345\261\236\347\211\251.png" deleted file mode 100644 index 8f94d81..0000000 --- "a/public/static/images/\347\207\203\346\260\224\351\231\204\345\261\236\347\211\251.png" +++ /dev/null Binary files differ diff --git "a/public/static/images/\347\256\241\347\233\257.png" "b/public/static/images/\347\256\241\347\233\257.png" new file mode 100644 index 0000000..c322117 --- /dev/null +++ "b/public/static/images/\347\256\241\347\233\257.png" Binary files differ diff --git a/src/components/Mars3D/Mars3dMap.vue b/src/components/Mars3D/Mars3dMap.vue index b6ba864..d7238e6 100644 --- a/src/components/Mars3D/Mars3dMap.vue +++ b/src/components/Mars3D/Mars3dMap.vue @@ -2,14 +2,19 @@ diff --git a/src/components/Mars3D/utils/ArcGisWfsLayer.js b/src/components/Mars3D/utils/ArcGisWfsLayer.js index 3b6d51a..7ca8399 100644 --- a/src/components/Mars3D/utils/ArcGisWfsLayer.js +++ b/src/components/Mars3D/utils/ArcGisWfsLayer.js @@ -62,3 +62,30 @@ window.map.addLayer(wfsLayer) return wfsLayer } + +/** + * 添加楼宇 + */ +export function building() { + const wfsLayer = new mars3d.layer.ArcGisWfsLayer({ + name: '建筑物面矢量图层', + url: Vue.prototype.baseConfig.buildingUrl, + // minimumLevel: changeLevel, + symbol: { + type: 'polygonC', + styleOptions: { + color: 'rgb(52,125,246)', + outline: false, + opacity: 0.8 + }, + callback: function(attr, styleOpt) { + var val = { attr }.attr + console.log(attr) + } + }, + buildings: { + height: 100 + } + }) + window.map.addLayer(wfsLayer) +} diff --git a/src/components/Mars3D/utils/GeoJsonLayer.js b/src/components/Mars3D/utils/GeoJsonLayer.js index 65a7e26..51ab972 100644 --- a/src/components/Mars3D/utils/GeoJsonLayer.js +++ b/src/components/Mars3D/utils/GeoJsonLayer.js @@ -149,13 +149,14 @@ duration: 1 }) } - }).on(mars3d.EventType.show, function(event) { - console.log(index, ' show时间(s):', new Date().getSeconds()) - }).on(mars3d.EventType.load, function(event) { - console.log(index, ' load时间(s):', new Date().getSeconds()) - }).on(mars3d.EventType.postRender, function(event) { - console.log(index, ' postRender时间(s):', new Date().getSeconds()) }) + .on(mars3d.EventType.show, function(event) { + console.log(index, ' show时间(s):', new Date().getSeconds()) + }).on(mars3d.EventType.load, function(event) { + console.log(index, ' load时间(s):', new Date().getSeconds()) + }).on(mars3d.EventType.postRender, function(event) { + console.log(index, ' postRender时间(s):', new Date().getSeconds()) + }) window.map.addLayer(layer) queryServer.query({ where: condition, diff --git a/src/components/Mars3D/utils/GraphicLayer.js b/src/components/Mars3D/utils/GraphicLayer.js new file mode 100644 index 0000000..0e352bb --- /dev/null +++ b/src/components/Mars3D/utils/GraphicLayer.js @@ -0,0 +1,67 @@ +import * as mars3d from 'mars3d' +import Vue from 'vue' + +/** + * 四面体 + * @param graphicLayer + * @param position + * @param attr + */ +export function Tetrahedron(graphicLayer, position, attr, style = {}) { + const tetrahedronPrimitive = new mars3d.graphic.Tetrahedron({ + position: position, + style: { + width: 8, + height: 15, + color: 'rgba(255,0,0,0.7)', + moveHeight: 50 + }, + attr: attr + }) + graphicLayer.addGraphic(tetrahedronPrimitive) +} +export function randomPoint(minJD, maxJD, minWD, maxWD) { + // 114.882505, 25.778006, 0] + // const jd = random(114.84 * 1000, 114.89 * 1000) / 1000 + // const wd = random(25.76 * 1000, 25.81 * 1000) / 1000 + const jd = random(minJD * 1000, maxJD * 1000) / 1000 + const wd = random(minWD * 1000, maxWD * 1000) / 1000 + return new mars3d.LngLatPoint(jd, wd, 100) +} + +export function random(min, max) { + return Math.floor(Math.random() * (max - min + 1) + min) +} + +/** + * 垂直飞线 + * @constructor + */ + +export function FlyLine(graphicLayer, minJD, maxJD, minWD, maxWD) { + const arrData = [] + for (let j = 0; j < 100; ++j) { + const startPt = randomPoint(minJD, maxJD, minWD, maxWD) + const endPt = startPt.clone() + endPt.alt = random(1000, 2000) + + arrData.push({ + positions: [startPt, endPt], + style: { + width: 1, + materialType: mars3d.MaterialType.LineFlowColor, + materialOptions: { + color: 'rgb(141,172,172)', + speed: random(5, 10), + startTime: random(1000, 3000), + percent: 0.1, + alpha: 0.01 + } + } + }) + } + const upPoly = new mars3d.graphic.PolylineCombine({ + instances: arrData + }) + graphicLayer.addGraphic(upPoly) +} diff --git a/src/views/overview/overview3d.vue b/src/views/overview/overview3d.vue index a0d6a3e..ed448eb 100644 --- a/src/views/overview/overview3d.vue +++ b/src/views/overview/overview3d.vue @@ -42,13 +42,13 @@ import MapSearchComp from '@/views/overview/components/mapSearchComp' import axios from 'axios' -// import 'cesium/Source/Widgets/widgets.css'// 导入必须的样式表 -// import 'cesium/Source/Cesium'// 导入必须的样式表 -// var Cesium = require('../../../node_modules/cesium/Source/Cesium') -var Cesium = require('../../../node_modules/mars3d-cesium/Build/Cesium/Cesium') + +import * as Cesium from 'mars3d-cesium' +// 导入mars3d主库 import 'mars3d/dist/mars3d.css' -import 'mars3d/dist/mars3d.js' +import 'mars3d-cesium/Build/Cesium/Widgets/widgets.css' import * as mars3d from 'mars3d' + import store from '@/store' import { breadcrumb } from '@/settings' import { RSAencrypt } from '@/utils/security' diff --git a/public/config/mars3dConfig.json b/public/config/mars3dConfig.json index 6e24067..29a3c40 100644 --- a/public/config/mars3dConfig.json +++ b/public/config/mars3dConfig.json @@ -30,7 +30,7 @@ "basemaps": [ { "pid": 10, - "id": 1111, + "id": 1112, "name": "天地图", "type": "group", "layers": [ @@ -39,7 +39,7 @@ ] }, { - "id": 1112, + "id": 1111, "pid": 10, "name": "天地图电子", "icon": "http://mars3d.cn/example/img/basemaps/tdt_vec.png", @@ -59,5 +59,25 @@ "key": ["216ee92889e17ab1b083fae665d522b8"], "show": true } + ], + "layers": [ + { + "type": "geojson", + "id": "building", + "url": "http://111.198.10.15:11404/3d/zqBuilding.json", + "symbol": { + "type": "polygonP", + "styleOptions": { + "color": "rgb(52,125,246)", + "outline": false, + "opacity": 0.8 + } + }, + "buildings": { + "height": 100 + }, + "popup": "{name}", + "show": true + } ] } diff --git a/public/config/project.config.json b/public/config/project.config.json index 54c91c6..69da0af 100644 --- a/public/config/project.config.json +++ b/public/config/project.config.json @@ -3,12 +3,13 @@ "subtitle": "", "theme":"blue", "baseUrl": "http://60.208.121.150:5001/", - "wsUrl": "ws://60.208.121.150:5001/websocket", + "wsUrl": "ws://60.208.121.150:5001/websocket/", "mainPage": "http://111.198.10.15:11404/dcms/#", "amapSecurityCode": "182a2c5889f7fe6d90546d9b8f4781ad", "amapKey": "1733551f35b56f6d8e9c0a9d4c2523b", "mapType": "gaode", "alarmSound": true, + "refreshTime": 60, "singleSys": true, "refreshType":"websocket", "showPointType":"massMarkers", @@ -16,5 +17,6 @@ "provinceCode":"360000", "cityCode":"361000", "areaCode":"361024", - "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqRq/MapServer/" + "arcgisUrl": "http://111.198.10.15:13002/arcgis/rest/services/zq_GxData0825/MapServer/", + "buildingUrl": "http://111.198.10.15:13002/arcgis/rest/services/zqBuilding/MapServer/0" } diff --git "a/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" new file mode 100644 index 0000000..0d95cba --- /dev/null +++ "b/public/static/images/dev-\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" Binary files differ diff --git "a/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" "b/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" new file mode 100644 index 0000000..d050e49 --- /dev/null +++ "b/public/static/images/dev-\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" Binary files differ diff --git "a/public/static/images/dev-\347\256\241\347\233\257.png" "b/public/static/images/dev-\347\256\241\347\233\257.png" new file mode 100644 index 0000000..96f8e94 --- /dev/null +++ "b/public/static/images/dev-\347\256\241\347\233\257.png" Binary files differ diff --git a/public/static/images/dev.png b/public/static/images/dev.png new file mode 100644 index 0000000..6dbf993 --- /dev/null +++ b/public/static/images/dev.png Binary files differ diff --git "a/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" "b/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" new file mode 100644 index 0000000..ffc5bb8 --- /dev/null +++ "b/public/static/images/\344\272\225\347\233\226\347\212\266\346\200\201\347\233\221\346\265\213\344\273\252.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" "b/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" new file mode 100644 index 0000000..420106b --- /dev/null +++ "b/public/static/images/\347\207\203\346\260\224\346\231\272\350\203\275\347\233\221\346\265\213\347\273\210\347\253\257.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\350\260\203\345\216\213\347\256\261.png" "b/public/static/images/\347\207\203\346\260\224\350\260\203\345\216\213\347\256\261.png" new file mode 100644 index 0000000..8f94d81 --- /dev/null +++ "b/public/static/images/\347\207\203\346\260\224\350\260\203\345\216\213\347\256\261.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\351\230\200\351\227\250\344\272\225.png" "b/public/static/images/\347\207\203\346\260\224\351\230\200\351\227\250\344\272\225.png" new file mode 100644 index 0000000..8f94d81 --- /dev/null +++ "b/public/static/images/\347\207\203\346\260\224\351\230\200\351\227\250\344\272\225.png" Binary files differ diff --git "a/public/static/images/\347\207\203\346\260\224\351\231\204\345\261\236\347\211\251.png" "b/public/static/images/\347\207\203\346\260\224\351\231\204\345\261\236\347\211\251.png" deleted file mode 100644 index 8f94d81..0000000 --- "a/public/static/images/\347\207\203\346\260\224\351\231\204\345\261\236\347\211\251.png" +++ /dev/null Binary files differ diff --git "a/public/static/images/\347\256\241\347\233\257.png" "b/public/static/images/\347\256\241\347\233\257.png" new file mode 100644 index 0000000..c322117 --- /dev/null +++ "b/public/static/images/\347\256\241\347\233\257.png" Binary files differ diff --git a/src/components/Mars3D/Mars3dMap.vue b/src/components/Mars3D/Mars3dMap.vue index b6ba864..d7238e6 100644 --- a/src/components/Mars3D/Mars3dMap.vue +++ b/src/components/Mars3D/Mars3dMap.vue @@ -2,14 +2,19 @@ diff --git a/src/components/Mars3D/utils/ArcGisWfsLayer.js b/src/components/Mars3D/utils/ArcGisWfsLayer.js index 3b6d51a..7ca8399 100644 --- a/src/components/Mars3D/utils/ArcGisWfsLayer.js +++ b/src/components/Mars3D/utils/ArcGisWfsLayer.js @@ -62,3 +62,30 @@ window.map.addLayer(wfsLayer) return wfsLayer } + +/** + * 添加楼宇 + */ +export function building() { + const wfsLayer = new mars3d.layer.ArcGisWfsLayer({ + name: '建筑物面矢量图层', + url: Vue.prototype.baseConfig.buildingUrl, + // minimumLevel: changeLevel, + symbol: { + type: 'polygonC', + styleOptions: { + color: 'rgb(52,125,246)', + outline: false, + opacity: 0.8 + }, + callback: function(attr, styleOpt) { + var val = { attr }.attr + console.log(attr) + } + }, + buildings: { + height: 100 + } + }) + window.map.addLayer(wfsLayer) +} diff --git a/src/components/Mars3D/utils/GeoJsonLayer.js b/src/components/Mars3D/utils/GeoJsonLayer.js index 65a7e26..51ab972 100644 --- a/src/components/Mars3D/utils/GeoJsonLayer.js +++ b/src/components/Mars3D/utils/GeoJsonLayer.js @@ -149,13 +149,14 @@ duration: 1 }) } - }).on(mars3d.EventType.show, function(event) { - console.log(index, ' show时间(s):', new Date().getSeconds()) - }).on(mars3d.EventType.load, function(event) { - console.log(index, ' load时间(s):', new Date().getSeconds()) - }).on(mars3d.EventType.postRender, function(event) { - console.log(index, ' postRender时间(s):', new Date().getSeconds()) }) + .on(mars3d.EventType.show, function(event) { + console.log(index, ' show时间(s):', new Date().getSeconds()) + }).on(mars3d.EventType.load, function(event) { + console.log(index, ' load时间(s):', new Date().getSeconds()) + }).on(mars3d.EventType.postRender, function(event) { + console.log(index, ' postRender时间(s):', new Date().getSeconds()) + }) window.map.addLayer(layer) queryServer.query({ where: condition, diff --git a/src/components/Mars3D/utils/GraphicLayer.js b/src/components/Mars3D/utils/GraphicLayer.js new file mode 100644 index 0000000..0e352bb --- /dev/null +++ b/src/components/Mars3D/utils/GraphicLayer.js @@ -0,0 +1,67 @@ +import * as mars3d from 'mars3d' +import Vue from 'vue' + +/** + * 四面体 + * @param graphicLayer + * @param position + * @param attr + */ +export function Tetrahedron(graphicLayer, position, attr, style = {}) { + const tetrahedronPrimitive = new mars3d.graphic.Tetrahedron({ + position: position, + style: { + width: 8, + height: 15, + color: 'rgba(255,0,0,0.7)', + moveHeight: 50 + }, + attr: attr + }) + graphicLayer.addGraphic(tetrahedronPrimitive) +} +export function randomPoint(minJD, maxJD, minWD, maxWD) { + // 114.882505, 25.778006, 0] + // const jd = random(114.84 * 1000, 114.89 * 1000) / 1000 + // const wd = random(25.76 * 1000, 25.81 * 1000) / 1000 + const jd = random(minJD * 1000, maxJD * 1000) / 1000 + const wd = random(minWD * 1000, maxWD * 1000) / 1000 + return new mars3d.LngLatPoint(jd, wd, 100) +} + +export function random(min, max) { + return Math.floor(Math.random() * (max - min + 1) + min) +} + +/** + * 垂直飞线 + * @constructor + */ + +export function FlyLine(graphicLayer, minJD, maxJD, minWD, maxWD) { + const arrData = [] + for (let j = 0; j < 100; ++j) { + const startPt = randomPoint(minJD, maxJD, minWD, maxWD) + const endPt = startPt.clone() + endPt.alt = random(1000, 2000) + + arrData.push({ + positions: [startPt, endPt], + style: { + width: 1, + materialType: mars3d.MaterialType.LineFlowColor, + materialOptions: { + color: 'rgb(141,172,172)', + speed: random(5, 10), + startTime: random(1000, 3000), + percent: 0.1, + alpha: 0.01 + } + } + }) + } + const upPoly = new mars3d.graphic.PolylineCombine({ + instances: arrData + }) + graphicLayer.addGraphic(upPoly) +} diff --git a/src/views/overview/overview3d.vue b/src/views/overview/overview3d.vue index a0d6a3e..ed448eb 100644 --- a/src/views/overview/overview3d.vue +++ b/src/views/overview/overview3d.vue @@ -42,13 +42,13 @@ import MapSearchComp from '@/views/overview/components/mapSearchComp' import axios from 'axios' -// import 'cesium/Source/Widgets/widgets.css'// 导入必须的样式表 -// import 'cesium/Source/Cesium'// 导入必须的样式表 -// var Cesium = require('../../../node_modules/cesium/Source/Cesium') -var Cesium = require('../../../node_modules/mars3d-cesium/Build/Cesium/Cesium') + +import * as Cesium from 'mars3d-cesium' +// 导入mars3d主库 import 'mars3d/dist/mars3d.css' -import 'mars3d/dist/mars3d.js' +import 'mars3d-cesium/Build/Cesium/Widgets/widgets.css' import * as mars3d from 'mars3d' + import store from '@/store' import { breadcrumb } from '@/settings' import { RSAencrypt } from '@/utils/security' diff --git a/src/views/overview/overview3dzq.vue b/src/views/overview/overview3dzq.vue index d22ea8d..8d6e637 100644 --- a/src/views/overview/overview3dzq.vue +++ b/src/views/overview/overview3dzq.vue @@ -6,8 +6,8 @@