diff --git a/src/jlmap3d/jl3ddrive/jl3ddrive.js b/src/jlmap3d/jl3ddrive/jl3ddrive.js index aff136ee0..ce4b050c6 100644 --- a/src/jlmap3d/jl3ddrive/jl3ddrive.js +++ b/src/jlmap3d/jl3ddrive/jl3ddrive.js @@ -57,9 +57,11 @@ export function JLmapDriving(dom,data,mapId,storemod,translation,routegroup,proj renderer.domElement.style.top = '0'; var renderercctv = new THREE.WebGLRenderer(); - renderercctv.setSize(dom.offsetWidth*0.2, dom.offsetHeight*0.2); + + // renderercctv.setSize(dom.offsetWidth*0.2, dom.offsetHeight*0.2); + renderercctv.setSize(500, 333); renderercctv.domElement.style.position = 'absolute'; - renderercctv.domElement.style.top = '0'; + renderercctv.domElement.style.bottom = '0'; document.getElementById('jlsimulation').appendChild(renderer.domElement); document.getElementById('jlcctv').appendChild(renderercctv.domElement); diff --git a/src/views/jlmap3d/drive/jl3ddrive.vue b/src/views/jlmap3d/drive/jl3ddrive.vue index 6ffdaa153..974145e34 100644 --- a/src/views/jlmap3d/drive/jl3ddrive.vue +++ b/src/views/jlmap3d/drive/jl3ddrive.vue @@ -438,10 +438,10 @@ export default { .jlmap3cctv{ float: left; left: 0; - top:0; + bottom:333px; //left:20%; - width: 20%; - height: 20%; + width:500px; + height:333px; position:absolute; z-index: -1; }