Commit 12bcab9d authored by Patrick's avatar Patrick
Browse files

add mobile support

parent 09c2b77e
......@@ -1653,7 +1653,7 @@
"url": "./datasource-data/41f773d4-3e2d-4c5d-b857-ca1d9f919199",
"type": "vcs.vcm.layer.cesium.Terrain",
"datasourceId": "ERmRsCpzxYgZW3iia",
"activeOnStartup": true,
"activeOnStartup": false,
"exclusive": false,
"requestVertexNormals": true,
"hiddenObjectIds": [],
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment