Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Libraries
KOSMIndoorMap
Commits
81584fc9
Commit
81584fc9
authored
Nov 21, 2022
by
Volker Krause
Browse files
Handle another way of tagging staircases for changing floors
parent
981b0bad
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/map-quick/floorlevelchangemodel.cpp
View file @
81584fc9
...
...
@@ -136,7 +136,8 @@ bool FloorLevelChangeModel::isLevelChangeElement(OSM::Element element) const
||
element
.
tagValue
(
"building:part"
)
==
"elevator"
||
element
.
tagValue
(
"building"
)
==
"elevator"
||
element
.
tagValue
(
"room"
)
==
"elevator"
||
element
.
tagValue
(
"levelpart"
)
==
"elevator_platform"
;
||
element
.
tagValue
(
"levelpart"
)
==
"elevator_platform"
||
(
!
element
.
tagValue
(
"indoor"
).
isEmpty
()
&&
element
.
tagValue
(
"stairs"
)
==
"yes"
);
}
void
FloorLevelChangeModel
::
appendFloorLevel
(
int
level
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment