kopia lustrzana https://github.com/robhawkes/vizicities
Changing min_height to minHeight
rodzic
9c1e50a2dd
commit
65b629246e
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -136,7 +136,7 @@ var buildingsConfig = {
|
|||
transformation: {
|
||||
outline: "geometry.coordinates",
|
||||
height: "properties.height",
|
||||
min_height: "properties.min_height"
|
||||
minHeight: "properties.min_height"
|
||||
}
|
||||
},
|
||||
tile: "tile"
|
||||
|
|
|
@ -353,7 +353,7 @@
|
|||
// TODO: Don't have random height logic in here
|
||||
var height = (feature.height) ? feature.height : 5 + Math.random() * 10;
|
||||
|
||||
var minHeight = (feature.min_height) ? feature.min_height : 0;
|
||||
var minHeight = (feature.minHeight) ? feature.minHeight : 0;
|
||||
|
||||
// TODO: Add floor/level-based heights
|
||||
// << rounds the height down
|
||||
|
|
Ładowanie…
Reference in New Issue