Skip to content
Snippets Groups Projects
Commit b28f0481 authored by Nora Hansen's avatar Nora Hansen :alien:
Browse files

Set clearcolor to blue. Commented out some CSS lines that were not commented out properly

parent f44b059a
No related branches found
No related tags found
1 merge request!3Zoom, design update
......@@ -29,16 +29,16 @@
#map {
width: 400px;
height: 400px;
//border: 1px solid black;
/*border: 1px solid black;*/
position: fixed;
right: -300px;
bottom: -300px;
opacity: 0.2;
z-index: 99;
transition: 0.5s;
//box-shadow: 5px 5px 5px #888888;
/*box-shadow: 5px 5px 5px #888888;*/
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
//box-shadow: -4px -4px 4px rgba(255, 0, 0, 1);//Ekstra utheving av minimert kart
/*box-shadow: -4px -4px 4px rgba(255, 0, 0, 1);//Ekstra utheving av minimert kart*/
}
#map:hover {
width: 400px;
......@@ -48,7 +48,7 @@
bottom: 15px;
opacity: 1;
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
//box-shadow: 0 0 15px 12px rgba(255, 255, 0, 0.3), -2px 5px 5px 2px rgba(9, 9, 9, 0.5);
/*box-shadow: 0 0 15px 12px rgba(255, 255, 0, 0.3), -2px 5px 5px 2px rgba(9, 9, 9, 0.5);*/
}
#knapp {
/*height: 20px;*/
......
......@@ -91,6 +91,7 @@ var wxs3 = wxs3 || {};
);
this.renderer.setSize(this.dim.width, this.dim.height);
this.renderer.setClearColor(0x68e5ff, 1.0); // Set clear color to a light blue
};
ns.ThreeDMap.prototype.createScene = function () {
......@@ -301,7 +302,13 @@ var wxs3 = wxs3 || {};
tileName = this.intersects[0].object.tileName;
this.mainTileLoader(tileName);
}
this.intersects = this.raycaster.intersectObjects(this.foregroundGroup.children);
if (this.intersects.length > 0) {
tileName = this.intersects[0].object.tileName;
}
};
ns.ThreeDMap.prototype.mainTileLoader = function (tileName) {
var neighbourCall;
var neighbourCalls = this.backGroundTileNeighbours(tileName);
......
......@@ -19,9 +19,9 @@
margin-bottom: 2px;
display:inline-block;
background-color: lightblue;
height: 40px;
width: 80px;
font-size: 20px;
height: 50px;
width: 100px;
font-size: 30px;
border-radius: 5px;
border: solid 2px darkblue;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment