kopia lustrzana https://github.com/robhawkes/vizicities
rodzic
13f25f41bf
commit
3fb9d3bc4e
|
@ -104,7 +104,7 @@ module.exports = function(grunt) {
|
|||
options: {
|
||||
port: port,
|
||||
// change hostname to 0.0.0.0 to open it up
|
||||
hostname: 'localhost',
|
||||
hostname: 'localhost',
|
||||
base: '.',
|
||||
keepalive: true,
|
||||
debug: true
|
||||
|
|
|
@ -391,7 +391,7 @@
|
|||
VIZI.DataOverpass.prototype.processColour = function(tags) {
|
||||
var colour;
|
||||
if (tags["building"] || tags["building:part"]) {
|
||||
colour = 0xffffff;
|
||||
colour = (VIZI.ENABLE_OUTLINES) ? 0xffffff : 0xeeeeee;
|
||||
} else if (tags["waterway"] || tags["natural"] === "water") {
|
||||
colour = 0x6DCCFF;
|
||||
} else if (tags["landuse"] === "forest") {
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
|
||||
VIZI.Renderer.prototype.createRenderer = function() {
|
||||
var renderer = new THREE.WebGLRenderer({
|
||||
antialias: true
|
||||
antialias: false
|
||||
});
|
||||
|
||||
renderer.setSize( window.innerWidth, window.innerHeight );
|
||||
|
|
Ładowanie…
Reference in New Issue