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
ff9b901c
Commit
ff9b901c
authored
Nov 08, 2018
by
Oleg Dzhimiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
button for markers linking
parent
4e426039
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
ui_align.js
js/ui_align.js
+13
-0
No files found.
js/ui_align.js
View file @
ff9b901c
...
@@ -68,6 +68,10 @@ function align_init(){
...
@@ -68,6 +68,10 @@ function align_init(){
});
});
*/
*/
$
(
"#markers_delta_button"
).
on
(
"click"
,
function
(){
x3dom_delta_markers
();
});
}
}
// position extra buttons
// position extra buttons
...
@@ -88,6 +92,13 @@ function align_position(){
...
@@ -88,6 +92,13 @@ function align_position(){
left
:
-
(
2
*
(
width
+
2
))
+
"px"
left
:
-
(
2
*
(
width
+
2
))
+
"px"
});
});
// this is experimental and for testing
$
(
"#markers_delta_button"
).
css
({
position
:
"absolute"
,
top
:
pos
.
top
+
"px"
,
left
:
-
(
3
*
(
width
+
2
))
+
"px"
});
}
}
/*
/*
...
@@ -425,10 +436,12 @@ function x3dom_align_hll3(){
...
@@ -425,10 +436,12 @@ function x3dom_align_hll3(){
var
mark
=
Data
.
markers
[
i
];
var
mark
=
Data
.
markers
[
i
];
markers_csved
+=
mark
.
align
.
latitude
+
","
+
mark
.
align
.
longitude
+
"
\n
"
;
markers_csved
+=
mark
.
align
.
latitude
+
","
+
mark
.
align
.
longitude
+
"
\n
"
;
}
}
console
.
log
(
"markers:"
);
console
.
log
(
markers_csved
);
console
.
log
(
markers_csved
);
//print initial approximation
//print initial approximation
var
initial_csved
=
Data
.
camera
.
kml
.
latitude
+
","
+
Data
.
camera
.
kml
.
longitude
;
var
initial_csved
=
Data
.
camera
.
kml
.
latitude
+
","
+
Data
.
camera
.
kml
.
longitude
;
console
.
log
(
"initial position:"
);
console
.
log
(
initial_csved
);
console
.
log
(
initial_csved
);
// print history
// print history
...
...
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