Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
刘远
/
3d_dc
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
1
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
f75e7e14
authored
2020-08-13 09:45:45 +0800
by
刘远
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1
1 parent
0527650f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
1 deletions
package.json
public/index.html
src/views/Home.vue
package.json
View file @
f75e7e1
...
...
@@ -11,6 +11,7 @@
"core-js"
:
"^3.6.5"
,
"echarts"
:
"^4.8.0"
,
"element-ui"
:
"^2.13.2"
,
"esri-loader"
:
"^2.15.0"
,
"vue"
:
"^2.6.11"
,
"vue-router"
:
"^3.2.0"
,
"vuex"
:
"^3.4.0"
...
...
public/index.html
View file @
f75e7e1
...
...
@@ -18,7 +18,6 @@
<!-- <script src="./js/bootstrap.min.js"></script> -->
<script
src=
"./js/spectrum.js"
></script>
<script
type=
"text/javascript"
src=
"./js/supermap/SuperMap.Include.js"
></script>
<script
type=
"text/javascript"
src=
"./js/require.min.js"
data-main=
"js/main"
></script>
</head>
<body>
<noscript>
...
...
src/views/Home.vue
View file @
f75e7e1
...
...
@@ -147,6 +147,8 @@
const
Cesium
=
window
.
Cesium
;
import
{
loadModules
}
from
'esri-loader'
;
export
default
{
components
:
{
TopTitle
,
...
...
@@ -234,8 +236,22 @@
widget
.
showErrorPanel
(
title
,
undefined
,
e
);
}
});
this
.
loadArcgis
();
},
methods
:
{
loadArcgis
()
{
loadModules
([
'esri/views/MapView'
,
'esri/WebMap'
])
.
then
(([
MapView
,
WebMap
])
=>
{
debugger
})
.
catch
(
err
=>
{
// handle any errors
console
.
error
(
err
);
});
},
searchRoat
(
val
)
{
/**
* @param {*} val '为地名地址道路的输入值'
...
...
Please
register
or
sign in
to post a comment