Changing min_height to minHeight

0.2
Robin Hawkes 2014-12-10 08:15:03 +00:00
rodzic 9c1e50a2dd
commit 65b629246e
4 zmienionych plików z 21 dodań i 15 usunięć

File diff suppressed because one or more lines are too long

10
build/vizi.min.js vendored

File diff suppressed because one or more lines are too long

Wyświetl plik

@ -136,7 +136,7 @@ var buildingsConfig = {
transformation: {
outline: "geometry.coordinates",
height: "properties.height",
min_height: "properties.min_height"
minHeight: "properties.min_height"
}
},
tile: "tile"

Wyświetl plik

@ -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