Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Alfakhori
M4labplatform
Commits
12bcab9d
Commit
12bcab9d
authored
Nov 19, 2020
by
Patrick
Browse files
add mobile support
parent
09c2b77e
Changes
2
Show whitespace changes
Inline
Side-by-side
vcm/config_mobile.json
View file @
12bcab9d
...
...
@@ -1653,7 +1653,7 @@
"url"
:
"./datasource-data/41f773d4-3e2d-4c5d-b857-ca1d9f919199"
,
"type"
:
"vcs.vcm.layer.cesium.Terrain"
,
"datasourceId"
:
"ERmRsCpzxYgZW3iia"
,
"activeOnStartup"
:
tru
e
,
"activeOnStartup"
:
fals
e
,
"exclusive"
:
false
,
"requestVertexNormals"
:
true
,
"hiddenObjectIds"
:
[],
...
...
vcm/templates/story/virtualcitystory.js
View file @
12bcab9d
...
...
@@ -132,7 +132,8 @@ vcs.vcm.Framework.getInstance().subscribe("MAP_LOADED", function() {
});
var
framework
=
vcs
.
vcm
.
Framework
.
getInstance
();
vcs
.
vcm
.
Framework
.
loadConfig
(
"
config.json
"
);
framework
.
isMobile
()
?
vcs
.
vcm
.
Framework
.
loadConfig
(
"
config_mobile.json
"
)
:
vcs
.
vcm
.
Framework
.
loadConfig
(
"
config.json
"
)
// vcs.vcm.Framework.loadConfig("config.json");
loadStoryConfig
(
"
templates/items.json
"
,
function
(
data
)
{
console
.
log
(
data
);
globalActions
=
data
.
actions
;
...
...
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