Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
x3domlet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
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
Elphel
x3domlet
Commits
80551632
Commit
80551632
authored
Nov 16, 2018
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testing new function
parent
7af5d8cb
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
283 additions
and
33 deletions
+283
-33
x3dom_deltas.js
js/x3dom_deltas.js
+281
-33
x3dom_init.js
js/x3dom_init.js
+2
-0
No files found.
js/x3dom_deltas.js
View file @
80551632
This diff is collapsed.
Click to expand it.
js/x3dom_init.js
View file @
80551632
...
@@ -1586,6 +1586,8 @@ X3DOMObject.createNewMarker = function(x,y,z){
...
@@ -1586,6 +1586,8 @@ X3DOMObject.createNewMarker = function(x,y,z){
// Update marker in Data
// Update marker in Data
mark
.
latitude
=
map_mark
.
_latlng
.
lat
;
mark
.
latitude
=
map_mark
.
_latlng
.
lat
;
mark
.
longitude
=
map_mark
.
_latlng
.
lng
;
mark
.
longitude
=
map_mark
.
_latlng
.
lng
;
// used to be zero, but now it's not zero
mark
.
altitude
=
Data
.
camera
.
kml
.
altitude
+
xyz_real
.
y
;
// register events for a new marker in Data
// register events for a new marker in Data
X3DOMObject
.
MapMarker
.
registerEvents
(
map_mark
);
X3DOMObject
.
MapMarker
.
registerEvents
(
map_mark
);
...
...
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