Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-station-module-view
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
station
amos-station-module-view
Commits
ca45b7ac
Commit
ca45b7ac
authored
Jun 05, 2020
by
单奇雲
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
0ce0cd33
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
View3D.js
mods/components/3dviewConvertor/view/View3D.js
+1
-1
No files found.
mods/components/3dviewConvertor/view/View3D.js
View file @
ca45b7ac
...
@@ -1538,7 +1538,7 @@ class View3D extends Component {
...
@@ -1538,7 +1538,7 @@ class View3D extends Component {
addMarker
=
({
extData
,
position
})
=>
{
addMarker
=
({
extData
,
position
})
=>
{
const
me
=
this
;
const
me
=
this
;
const
{
markers
}
=
me
;
const
{
markers
}
=
me
.
state
;
const
isInside
=
me
.
polygonRegion
&&
extData
.
parentId
&&
me
.
polygonRegion
[
extData
.
parentId
].
pointInPolygon
([
position
.
x
,
position
.
y
,
position
.
z
]);
const
isInside
=
me
.
polygonRegion
&&
extData
.
parentId
&&
me
.
polygonRegion
[
extData
.
parentId
].
pointInPolygon
([
position
.
x
,
position
.
y
,
position
.
z
]);
// if (isInside){
// if (isInside){
markers
[
extData
.
type
].
forEach
(
e
=>
{
markers
[
extData
.
type
].
forEach
(
e
=>
{
...
...
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