-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building permits slicing + measurements #24
Conversation
ad7304c
to
ebb33d8
Compare
fcc4bc5
to
8e9a494
Compare
|
||
renderSceneIfTranslucent(): void { | ||
// because calling render decreases performance, only call it when needed. | ||
// see https://cesium.com/docs/cesiumjs-ref-doc/Scene.html#pickTranslucentDepth |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pickTranslucentDepth
is false
by default.
Can you explain what you mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I moved it from NGM, we will need it if we want to draw on a map when it semi transparent
renderSceneIfTranslucent(): void { | ||
// because calling render decreases performance, only call it when needed. | ||
// see https://cesium.com/docs/cesiumjs-ref-doc/Scene.html#pickTranslucentDepth | ||
if (this.viewer_.scene.globe.translucency.enabled) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it enabled?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no but maybe in future
src/plugins/cesium/draw.ts
Outdated
if (this.eventHandler_) { | ||
this.eventHandler_.destroy(); | ||
} | ||
this.eventHandler_ = undefined; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can be moved in the if
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
8e9a494
to
205eb1a
Compare
205eb1a
to
993e3cb
Compare
No description provided.