{"action":"opened","issue":{"url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/3304","labels_url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/3304/labels{/name}","comments_url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/3304/comments","events_url":"https://api.github.com/repos/AnalyticalGraphicsInc/cesium/issues/3304/events","html_url":"https://github.com/AnalyticalGraphicsInc/cesium/issues/3304","id":120966540,"number":3304,"title":"Cesium in QlikView (BI)","user":{"login":"seneric","id":4995630,"avatar_url":"https://avatars.githubusercontent.com/u/4995630?v=3","gravatar_id":"","url":"https://api.github.com/users/seneric","html_url":"https://github.com/seneric","followers_url":"https://api.github.com/users/seneric/followers","following_url":"https://api.github.com/users/seneric/following{/other_user}","gists_url":"https://api.github.com/users/seneric/gists{/gist_id}","starred_url":"https://api.github.com/users/seneric/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seneric/subscriptions","organizations_url":"https://api.github.com/users/seneric/orgs","repos_url":"https://api.github.com/users/seneric/repos","events_url":"https://api.github.com/users/seneric/events{/privacy}","received_events_url":"https://api.github.com/users/seneric/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-08T09:20:53Z","updated_at":"2015-12-08T09:20:53Z","closed_at":null,"body":"I try to integrate Cesium in a QlikView plugin and I had two problems.\r\n* When you are in QlikView plugin resources are accessed through a queryString : \r\nhttp://server/QvAjaxZfc/QvsViewClient.aspx?public=only&name=Extensions/QlikView/Examples/Local/Build/CesiumUnminified/Cesium.js\r\nIn the URI module of Cesium (URI.prototype.resolve) the queryString is deleted so you can't load the resources (images for example).\r\nMy \"dirty\" modification :\r\n.....\r\nif (baseURI.authority && baseURI.path == '') {\r\n    uri.path = '/' + this.path;\r\n} else {\r\n  //uri.path = baseURI.path.substring(0, baseURI.path.lastIndexOf('/') + 1) + this.path;\r\n  uri.path = baseURI.path + \"?\" + baseURI.query + this.path;\r\n}\r\nuri.removeDotSegments();\r\n.....\r\n\r\n* In the \"cesiumWorkerBootstrapper.js\" module in the \"req.load\" function, if isWebWorker the url value is trucated! There is not the \".js\" extension at the end. I do not know why ?\r\nSo \"importScripts(url)\" failed.\r\nMy \"dirty\" modification :\r\n.....\r\nif (url.indexOf(\".js\") < 0) {\r\n  url+= \".js\";\r\n}\r\nimportScripts(url);\r\n....\r\n\r\nAfter that Cesium is OK in QlikView plugins."}}