Commit a057bd5c authored by Patrick's avatar Patrick
Browse files

ipad test 04

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