Commit a057bd5c authored by Patrick's avatar Patrick
Browse files

ipad test 04

parent 2455af9a
...@@ -130,11 +130,6 @@ ...@@ -130,11 +130,6 @@
"startingmap": true, "startingmap": true,
"type": "vcs.vcm.maps.Cesium", "type": "vcs.vcm.maps.Cesium",
"webGLaa": false "webGLaa": false
},
{
"name": "Openlayers Map",
"startingmap": false,
"type": "vcs.vcm.maps.Openlayers"
} }
], ],
"widgets": [ "widgets": [
......
...@@ -133,7 +133,7 @@ vcs.vcm.Framework.getInstance().subscribe("MAP_LOADED", function() { ...@@ -133,7 +133,7 @@ vcs.vcm.Framework.getInstance().subscribe("MAP_LOADED", function() {
var framework = vcs.vcm.Framework.getInstance(); var framework = vcs.vcm.Framework.getInstance();
if (checkagent() == true && is_touch_device() == true && checkIpad() == true){ if (checkagent() == true && is_touch_device() == true && checkIpad() == true){
vcs.vcm.Framework.loadConfig("config_mobile.json") vcs.vcm.Framework.loadConfig("config_ipad.json")
var drop = document.getElementById("dropdownMain") var drop = document.getElementById("dropdownMain")
drop.classList.add('can-touch') drop.classList.add('can-touch')
drop.style.display = "none"; // add "can-touch" class to document root using classList API drop.style.display = "none"; // add "can-touch" class to document root using classList API
......
Supports Markdown
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