Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yangpu-property
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
郭铭瑶
yangpu-property
Commits
6b56a95d
Commit
6b56a95d
authored
Jul 21, 2021
by
郭铭瑶
🤘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
换新版地图包
parent
a806f94d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
1449 additions
and
8 deletions
+1449
-8
index.html
index.html
+1
-4
monitor-map.vue
src/components/MonitorComponents/MonitorMap/monitor-map.vue
+4
-2
api.js
src/server/api.js
+7
-2
README.md
static/internet-old/README.md
+0
-0
SMap.min.js
static/internet-old/SMap.min.js
+0
-0
SMap.min.js.map
static/internet-old/SMap.min.js.map
+0
-0
README.md
static/shanghaiwuye_gis_map_api_3.2.210421/README.md
+1426
-0
SMap.min.js
static/shanghaiwuye_gis_map_api_3.2.210421/SMap.min.js
+2
-0
SMap.min.js.map
static/shanghaiwuye_gis_map_api_3.2.210421/SMap.min.js.map
+1
-0
网络参数说明.txt
static/shanghaiwuye_gis_map_api_3.2.210421/网络参数说明.txt
+8
-0
README.md
static/zhengwu-esm/README.md
+0
-0
SMap.min.js
static/zhengwu-esm/SMap.min.js
+0
-0
SMap.min.js.map
static/zhengwu-esm/SMap.min.js.map
+0
-0
No files found.
index.html
View file @
6b56a95d
...
...
@@ -18,10 +18,7 @@
<!-- built files will be auto injected -->
</body>
<script
src=
"./static/hls.js"
></script>
<!-- 下面是开发用 -->
<script
src=
"./static/SMap.min.js"
></script>
<!-- 下面是生产用 -->
<!-- <script src="./static/esm/SMap.min.js"></script> -->
<script
src=
"./static/shanghaiwuye_gis_map_api_3.2.210421/SMap.min.js"
></script>
<script
src=
"./static/Plugins.min.js"
></script>
</html>
src/components/MonitorComponents/MonitorMap/monitor-map.vue
View file @
6b56a95d
...
...
@@ -21,16 +21,18 @@ export default {
},
methods
:
{
initMap
()
{
new
SMap
.
Network
().
setNet
(
this
.
$api
.
MAP_NET
)
this
.
map
=
new
SMap
.
Map
(
'mapContainer'
,
{
viewMode
:
'2D'
,
// center: [0, 0],
// zoom: 4,
// zooms: [1, 12],
mapStyle
:
'smap://styles/dark'
,
appKey
:
'ACF69EDK17LON63GHPF081'
,
}).
on
(
SMap
.
MapEvent
.
maploaded
,
()
=>
{
// this.map.hideXQ_Poly()
this
.
map
.
hideXQ_Point
()
this
.
map
.
hideMPZ
()
//
this.map.hideXQ_Point()
//
this.map.hideMPZ()
this
.
addListener
()
this
.
$emit
(
'complete'
)
})
...
...
src/server/api.js
View file @
6b56a95d
let
MAP_NET
=
''
let
BASE_URL
=
''
const
DATA_URL
=
'http://10.89.1.208:10005'
switch
(
process
.
env
.
NODE_ENV
)
{
case
'production'
:
MAP_NET
=
'affairs'
// 政务网地图
BASE_URL
=
'http://10.89.4.164:18080/api'
// BASE_URL = 'http://yangpu.hm.omniview.pro/api'
// BASE_URL = 'http://yangpu.hm.omniview.pro/api'
// 废弃
break
default
:
BASE_URL
=
'http://yangpu.hm.omniview.pro/api'
MAP_NET
=
'internet'
// 互联网网地图
BASE_URL
=
'http://yangpu-hm.omniview.pro/api/v2'
// BASE_URL = 'http://yangpu.hm.omniview.pro/api' // 废弃
}
export
default
{
MAP_NET
,
BASE_URL
,
DATA_URL
,
GET_HANDLE_LIST
:
'/service-special-ddd/public/alarm/index'
,
// 联勤联动列表
...
...
static/README.md
→
static/
internet-old/
README.md
View file @
6b56a95d
File moved
static/SMap.min.js
→
static/
internet-old/
SMap.min.js
View file @
6b56a95d
File moved
static/SMap.min.js.map
→
static/
internet-old/
SMap.min.js.map
View file @
6b56a95d
File moved
static/shanghaiwuye_gis_map_api_3.2.210421/README.md
0 → 100644
View file @
6b56a95d
This diff is collapsed.
Click to expand it.
static/shanghaiwuye_gis_map_api_3.2.210421/SMap.min.js
0 → 100644
View file @
6b56a95d
This source diff could not be displayed because it is too large. You can
view the blob
instead.
static/shanghaiwuye_gis_map_api_3.2.210421/SMap.min.js.map
0 → 100644
View file @
6b56a95d
This diff is collapsed.
Click to expand it.
static/shanghaiwuye_gis_map_api_3.2.210421/网络参数说明.txt
0 → 100644
View file @
6b56a95d
new SMap.Network().setNet(网络参数);
网络参数包括以下几个值:
'internet':表示互联网2D;
'affairs':表示政务网2D;
'local3D':表示局域网3D;
'affairs3D':表示政务网3D;
'njdl':表示南京东路政务网3D;
\ No newline at end of file
static/esm/README.md
→
static/
zhengwu-
esm/README.md
View file @
6b56a95d
File moved
static/esm/SMap.min.js
→
static/
zhengwu-
esm/SMap.min.js
View file @
6b56a95d
File moved
static/esm/SMap.min.js.map
→
static/
zhengwu-
esm/SMap.min.js.map
View file @
6b56a95d
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment