Skip to content

#31 support building:min_level - #156

Draft
deevroman wants to merge 1 commit into
Beakerboy:mainfrom
deevroman:min_level
Draft

#31 support building:min_level#156
deevroman wants to merge 1 commit into
Beakerboy:mainfrom
deevroman:min_level

Conversation

@deevroman

@deevroman deevroman commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

https://beakerboy.github.io/OSMBuilding/?id=19046126&type=relation

On the left side of the building, part of the building has now been rendered correctly:

https://deevroman.github.io/OSMBuilding/?id=19046126&type=relation

Note that it is important to set the default value of minHeight to null, not 0. Because in the expression this.options.specified.building.minHeight ?? this.options.inherited.building.minHeight ?? 0, the ?? operator will not be able to skip the 0 returned by this.options.inherited.building.minHeight.

p.s. In general, it's probably worth removing the inheritance of all parameters related to numbers, but this is a separate conversation that requires testing.

@deevroman
deevroman marked this pull request as draft September 1, 2026 01:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant