Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
Map3D
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
1
Merge Requests
1
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
刘恽伟
Map3D
Commits
f9bd86f5
Commit
f9bd86f5
authored
Feb 21, 2019
by
何军
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加房子规划二维面
parent
4bdab20e
Pipeline
#7
failed with stages
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
30 additions
and
0 deletions
+30
-0
houseAreaSign.json
test/Build/Data/houseAreaSign.json
+23
-0
core.js
test/Build/Static/js/main/core.js
+6
-0
index.html
test/index.html
+1
-0
No files found.
test/Build/Data/houseAreaSign.json
0 → 100644
View file @
f9bd86f5
{
"type"
:
"GeometryCollection"
,
"geometries"
:
[
{
"type"
:
"Polygon"
,
"coordinates"
:[[[
113.5865164742853
,
24.78256990802464
],[
113.58727314288524
,
24.78228437270394
],[
113.58718327355712
,
24.78204621898442
],[
113.5864266049573
,
24.782331754305176
],[
113.5865164742853
,
24.78256990802464
]]]},
{
"type"
:
"Polygon"
,
"coordinates"
:[[[
113.58612148375823
,
24.782393827910255
],[
113.5870708886996
,
24.782055944447393
],[
113.5870287599356
,
24.7819375685541
],[
113.58607935499435
,
24.782275452016847
],[
113.58612148375823
,
24.782393827910255
]]]},
{
"type"
:
"Polygon"
,
"coordinates"
:[[[
113.58577903966204
,
24.781301407447927
],[
113.58589206405975
,
24.781265715532868
],[
113.58585879955444
,
24.781160377932906
],[
113.58574577515662
,
24.781196069848136
],[
113.58577903966204
,
24.781301407447927
]]]},
{
"type"
:
"Polygon"
,
"coordinates"
:[[[
113.58653491510802
,
24.781118506212067
],[
113.58671550883923
,
24.781038242331533
],[
113.58635383076637
,
24.78022446666745
],[
113.58617323703515
,
24.780304730547982
],[
113.58653491510802
,
24.781118506212067
]]]},
{
"type"
:
"Polygon"
,
"coordinates"
:[[[
113.58768451203537
,
24.783311536448025
],[
113.58781300292958
,
24.78325442938393
],[
113.58767582822918
,
24.782945786307835
],[
113.58754733733497
,
24.783002893371986
],[
113.58768451203537
,
24.783311536448025
]]]},
{
"type"
:
"Polygon"
,
"coordinates"
:[[[
113.58749891407683
,
24.78288799238902
],[
113.58764141951576
,
24.782820811253544
],[
113.58748437508939
,
24.782487686712614
],[
113.58734186965046
,
24.782554867848262
],[
113.58749891407683
,
24.78288799238902
]]]},
{
"type"
:
"Polygon"
,
"coordinates"
:[[[
113.58633916478254
,
24.78258183507279
],[
113.58643783497621
,
24.782540722492286
],[
113.58635455384115
,
24.78234084776767
],[
113.58625588364737
,
24.782381960348403
],[
113.58633916478254
,
24.78258183507279
]]]},
{
"type"
:
"Polygon"
,
"coordinates"
:[[[
113.58599830699347
,
24.780121710339017
],[
113.58568921335302
,
24.780237306334527
],[
113.58596285136889
,
24.780968990593863
],[
113.58627194500923
,
24.780853394598182
],[
113.58599830699347
,
24.780121710339017
]]]},
{
"type"
:
"Polygon"
,
"coordinates"
:[[[
113.58612203896587
,
24.781174621834055
],[
113.58636474398838
,
24.781071115280156
],[
113.58632578461413
,
24.780979762264337
],[
113.5860830795915
,
24.781083268818236
],[
113.58612203896587
,
24.781174621834055
]]]},
{
"type"
:
"Polygon"
,
"coordinates"
:[[[
113.58681089292713
,
24.783338840763122
],[
113.58733913327035
,
24.783167519570668
],[
113.58728398890764
,
24.78299749111909
],[
113.58675574856443
,
24.783168812311544
],[
113.58681089292713
,
24.783338840763122
]]]},
{
"type"
:
"Polygon"
,
"coordinates"
:[[[
113.58722967806398
,
24.78278561607931
],[
113.58710212864355
,
24.782518369674165
],[
113.58684038793285
,
24.782643291377042
],[
113.5869679373535
,
24.78291053778213
],[
113.58722967806398
,
24.78278561607931
]]]},
{
"type"
:
"Polygon"
,
"coordinates"
:[[[
113.58672166313931
,
24.782928383739545
],[
113.58684063618955
,
24.782885553441474
],[
113.58675552158866
,
24.782649123994474
],[
113.58663654853842
,
24.782691954292716
],[
113.58672166313931
,
24.782928383739545
]]]},
{
"type"
:
"Polygon"
,
"coordinates"
:[[[
113.5854177185081
,
24.78146977414292
],[
113.5857032538288
,
24.781331765404616
],[
113.58565322138827
,
24.781228250010315
],[
113.58536768606746
,
24.78136625874862
],[
113.5854177185081
,
24.78146977414292
]]]},
{
"type"
:
"Polygon"
,
"coordinates"
:[[[
113.58560331646663
,
24.78055725084721
],[
113.58554264021097
,
24.780428759952827
],[
113.58546100593298
,
24.780467309473067
],[
113.58552168218864
,
24.780595800367394
],[
113.58560331646663
,
24.78055725084721
]]]},
{
"type"
:
"Polygon"
,
"coordinates"
:[[[
113.58568064894928
,
24.781080732268435
],[
113.58588885178733
,
24.781009348438204
],[
113.58577465851613
,
24.7806762847311
],[
113.58556645567808
,
24.780747668561332
],[
113.58568064894928
,
24.781080732268435
]]]},
{
"type"
:
"Polygon"
,
"coordinates"
:[[[
113.58521546432257
,
24.781018866282352
],[
113.5852559076692
,
24.78110597502905
],[
113.58552240730194
,
24.780982243056656
],[
113.58548196395532
,
24.78089513431013
],[
113.58521546432257
,
24.781018866282352
]]]},
{
"type"
:
"Polygon"
,
"coordinates"
:[[[
113.58529160707474
,
24.781213982084807
],[
113.58535192759621
,
24.781324282467097
],[
113.58565649860498
,
24.78115772019663
],[
113.5855961780835
,
24.781047419814513
],[
113.58529160707474
,
24.781213982084807
]]]},
{
"type"
:
"Polygon"
,
"coordinates"
:[[[
113.58517759123481
,
24.780872926007362
],[
113.58540978358747
,
24.780763937760128
],[
113.58527296457976
,
24.780472453787013
],[
113.58504077222699
,
24.78058144203402
],[
113.58517759123481
,
24.780872926007362
]]]},
{
"type"
:
"Polygon"
,
"coordinates"
:[[[
113.58663183848637
,
24.784639612779642
],[
113.58793102419543
,
24.78423986333081
],[
113.58800716694759
,
24.784444496977187
],[
113.58827842550238
,
24.784373113147126
],[
113.58783584575531
,
24.783326150304504
],[
113.58632250855544
,
24.7838020425055
],[
113.58663183848637
,
24.784639612779642
]]]},
{
"type"
:
"Polygon"
,
"coordinates"
:[[[
113.58492687536011
,
24.78023733231504
],[
113.58597681347464
,
24.77982372033034
],[
113.58544797732043
,
24.7784812900926
],[
113.5843980392059
,
24.778894902077127
],[
113.58492687536011
,
24.78023733231504
]]]}
]}
\ No newline at end of file
test/Build/Static/js/main/core.js
View file @
f9bd86f5
...
...
@@ -108,6 +108,12 @@ function initialize() {
show
:
false
}));
}
//二维面
let
houseAreaSign
=
Cesium
.
GeoJsonDataSource
.
load
(
'Build/Data/houseAreaSign.json'
,{
clampToGround
:
true
});
houseAreaSign
.
then
(
function
(
dataSource
)
{
viewer
.
dataSources
.
add
(
dataSource
);
});
polygon
=
new
Cesium
.
GroundPrimitive
({
geometryInstances
:
new
Cesium
.
GeometryInstance
({
geometry
:
new
Cesium
.
CorridorGeometry
({
...
...
test/index.html
View file @
f9bd86f5
...
...
@@ -20,6 +20,7 @@
<script
src=
"Build/Static/js/main/Roam.js"
></script>
<script
src=
"Build/Static/js/main/Popup.js"
></script>
<script
src=
"Build/Static/js/main/Linkage.js"
></script>
<body>
<div
id=
"mainScene"
class=
"fullSize mainScene"
>
<div
id=
"toolsbar"
class=
"toolsbar"
>
...
...
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