Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DA-Platform
Overview
Overview
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
文档服务地址:
http://47.92.0.57:3000/
周报索引地址:
http://47.92.0.57:3000/s/NruNXRYmV
Open sidebar
Berlin
DA-Platform
Commits
e89de876
Commit
e89de876
authored
Nov 08, 2020
by
ren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图层的叠加(上传shp文件有bug)
parent
740c23d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
layerAnnotation.vue
...-front/src/components/imageAnnotation/layerAnnotation.vue
+2
-1
No files found.
DAPlatform-front/src/components/imageAnnotation/layerAnnotation.vue
View file @
e89de876
...
@@ -296,11 +296,12 @@
...
@@ -296,11 +296,12 @@
method
:
'get'
,
method
:
'get'
,
url
:
'https://a.amap.com/jsapi_demos/static/geojson/chongqing.json'
,
url
:
'https://a.amap.com/jsapi_demos/static/geojson/chongqing.json'
,
}).
then
(
geoJSON
=>
{
}).
then
(
geoJSON
=>
{
console
.
log
(
res
.
geoJSON
)
for
(
var
index
=
0
;
index
<
res
.
geoJSON
.
length
;
index
++
){
for
(
var
index
=
0
;
index
<
res
.
geoJSON
.
length
;
index
++
){
var
resItem
=
res
.
geoJSON
[
index
]
var
resItem
=
res
.
geoJSON
[
index
]
var
name
=
resItem
.
name
var
name
=
resItem
.
name
var
geoItem
=
resItem
.
geojson
var
geoItem
=
resItem
.
geojson
//
console.log(geoItem)
console
.
log
(
geoItem
)
this
.
tableData
.
push
({
id
:
index
,
name
:
name
})
this
.
tableData
.
push
({
id
:
index
,
name
:
name
})
// console.log(geoItem.features[0].geometry.coordinates[0][0]);
// console.log(geoItem.features[0].geometry.coordinates[0][0]);
...
...
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