Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Alfakhori
Gengenbach
Commits
ae2a0557
Commit
ae2a0557
authored
Oct 05, 2026
by
Alfakhori
Browse files
fix version 186
parent
499216b7
Pipeline
#12485
passed with stage
in 26 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
public/ar_main.js
View file @
ae2a0557
...
@@ -859,8 +859,8 @@ async function activateXR(sceneData = null) {
...
@@ -859,8 +859,8 @@ async function activateXR(sceneData = null) {
navigator
.
geolocation
.
getCurrentPosition
(
navigator
.
geolocation
.
getCurrentPosition
(
(
position
)
=>
{
(
position
)
=>
{
geoLocation
=
{
geoLocation
=
{
latitude
:
roundTo
(
position
.
coords
.
latitude
,
5
),
latitude
:
window
.
roundTo
(
position
.
coords
.
latitude
,
5
),
longitude
:
roundTo
(
position
.
coords
.
longitude
,
5
),
longitude
:
window
.
roundTo
(
position
.
coords
.
longitude
,
5
),
};
};
console
.
log
(
"
GeoLocation:
"
+
JSON
.
stringify
(
geoLocation
));
console
.
log
(
"
GeoLocation:
"
+
JSON
.
stringify
(
geoLocation
));
...
@@ -1006,6 +1006,14 @@ function playButtonSound() {
...
@@ -1006,6 +1006,14 @@ function playButtonSound() {
}
}
}
}
window
.
selectModel
=
selectModel
;
window
.
updateRotation
=
updateRotation
;
window
.
updateScale
=
updateScale
;
window
.
updateMoveDelta
=
updateMoveDelta
;
window
.
moveModelDynamic
=
moveModelDynamic
;
window
.
closeDynamicMenu
=
closeDynamicMenu
;
window
.
roundTo
=
window
.
roundTo
;
/* ============================================================
/* ============================================================
GLOBAL API BRIDGE
GLOBAL API BRIDGE
------------------------------------------------------------
------------------------------------------------------------
...
...
public/ar_overviewmap.js
View file @
ae2a0557
...
@@ -336,3 +336,4 @@ window.init_map = init_map;
...
@@ -336,3 +336,4 @@ window.init_map = init_map;
window
.
centerOnPlan
=
centerOnPlan
;
window
.
centerOnPlan
=
centerOnPlan
;
window
.
threeToLeaflet
=
threeToLeaflet
;
window
.
threeToLeaflet
=
threeToLeaflet
;
window
.
leafletToThree
=
leafletToThree
;
window
.
leafletToThree
=
leafletToThree
;
window
.
roundTo
=
roundTo
;
public/ar_start.js
View file @
ae2a0557
...
@@ -189,7 +189,7 @@ function showStartScreen() {
...
@@ -189,7 +189,7 @@ function showStartScreen() {
predefinedButton2
=
null
;
predefinedButton2
=
null
;
// Start AR
// Start AR
window
.
activateXR
(
sceneData
);
window
.
window
.
activateXR
(
sceneData
);
};
};
/* ==========================================================
/* ==========================================================
...
@@ -197,7 +197,7 @@ function showStartScreen() {
...
@@ -197,7 +197,7 @@ function showStartScreen() {
========================================================== */
========================================================== */
loadButton
.
onclick
=
()
=>
{
loadButton
.
onclick
=
()
=>
{
window
.
loadSceneFromFile
((
data
,
fileName
)
=>
{
window
.
window
.
loadSceneFromFile
((
data
,
fileName
)
=>
{
if
(
data
&&
fileName
)
{
if
(
data
&&
fileName
)
{
sceneData
=
data
;
sceneData
=
data
;
sceneFileName
=
fileName
;
sceneFileName
=
fileName
;
...
...
public/index.html
View file @
ae2a0557
...
@@ -36,7 +36,6 @@
...
@@ -36,7 +36,6 @@
STANDARDMENÜ
STANDARDMENÜ
============================================================ -->
============================================================ -->
<div
id=
"menu-bar"
>
<div
id=
"menu-bar"
>
<div
<div
...
@@ -307,7 +306,7 @@
...
@@ -307,7 +306,7 @@
============================================================ -->
============================================================ -->
<div
id=
"app-version"
>
<div
id=
"app-version"
>
v0.1.
186
v0.1.
4
</div>
</div>
...
...
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