Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
UGL
website
Commits
c7ec381d
Commit
c7ec381d
authored
4 years ago
by
Santhanavanich
Browse files
Options
Download
Email Patches
Plain Diff
up sakis
parent
1edbd765
Pipeline
#3249
passed with stage
in 21 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
public/3d-globe/add_avartar_billboard.js
+9
-0
public/3d-globe/add_avartar_billboard.js
public/3d-globe/index.html
+1
-1
public/3d-globe/index.html
public/imgs/avatar/sakis1.png
+0
-0
public/imgs/avatar/sakis1.png
with
10 additions
and
1 deletion
+10
-1
public/3d-globe/add_avartar_billboard.js
+
9
-
0
View file @
c7ec381d
...
...
@@ -20,6 +20,15 @@ viewer.entities.add({
},
});
viewer
.
entities
.
add
({
position
:
Cesium
.
Cartesian3
.
fromDegrees
(
22.4062122
,
38.9034077
),
billboard
:
{
image
:
"
../imgs/avatar/sakis1.png
"
,
width
:
75
,
// default: undefined
height
:
75
,
// default: undefined
},
});
viewer
.
entities
.
add
({
position
:
Cesium
.
Cartesian3
.
fromDegrees
(
113.9213
,
0.7893
),
billboard
:
{
...
...
This diff is collapsed.
Click to expand it.
public/3d-globe/index.html
+
1
-
1
View file @
c7ec381d
...
...
@@ -44,7 +44,7 @@
function
spinIt
(
scene
,
time
)
{
var
now
=
Date
.
now
();
var
spinRate
=
0.0
5
;
var
spinRate
=
0.0
1
;
var
delta
=
(
now
-
lastNow
)
/
1000
;
lastNow
=
now
;
viewer
.
scene
.
camera
.
rotate
(
Cesium
.
Cartesian3
.
UNIT_Z
,
spinRate
*
delta
);
...
...
This diff is collapsed.
Click to expand it.
public/imgs/avatar/sakis1.png
0 → 100644
+
0
-
0
View file @
c7ec381d
74.1 KB
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets