Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Parajuli
website
Commits
5f3bdd1d
Commit
5f3bdd1d
authored
Apr 27, 2021
by
Joe TS Dell
Browse files
up
parent
159d2b64
Changes
2
Hide whitespace changes
Inline
Side-by-side
public/3d-globe/add_avartar_billboard.js
View file @
5f3bdd1d
...
...
@@ -5,4 +5,40 @@ viewer.entities.add({
width
:
75
,
// default: undefined
height
:
75
,
// default: undefined
},
});
viewer
.
entities
.
add
({
position
:
Cesium
.
Cartesian3
.
fromDegrees
(
10.4515
,
51.1657
),
billboard
:
{
image
:
"
../imgs/avatar/PatrickSquare.jpg
"
,
width
:
75
,
// default: undefined
height
:
75
,
// default: undefined
},
});
viewer
.
entities
.
add
({
position
:
Cesium
.
Cartesian3
.
fromDegrees
(
113.9213
,
0.7893
),
billboard
:
{
image
:
"
../imgs/avatar/rosanny.jpg
"
,
width
:
75
,
// default: undefined
height
:
75
,
// default: undefined
},
});
viewer
.
entities
.
add
({
position
:
Cesium
.
Cartesian3
.
fromDegrees
(
8.6753
,
9.0820
),
billboard
:
{
image
:
"
../imgs/avatar/sabo.png
"
,
width
:
75
,
// default: undefined
height
:
75
,
// default: undefined
},
});
viewer
.
entities
.
add
({
position
:
Cesium
.
Cartesian3
.
fromDegrees
(
78.9629
,
20.5937
),
billboard
:
{
image
:
"
../imgs/avatar/preston.jpg
"
,
width
:
75
,
// default: undefined
height
:
75
,
// default: undefined
},
});
\ No newline at end of file
public/imgs/avatar/sabo.png
0 → 100644
View file @
5f3bdd1d
1.6 MB
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