A method comprising: - determining a floor characteristic from a map of a building, wherein the floor characteristic is a topological and/or structural characteristic of the building, and indicative of signal propagation between floors within the building and of an amount of radio signal leakage or penetration between the floors, wherein the floor characteristic is location-dependent within the building, and the floor characteristic is determined under consideration of a location of an electronic device within the building, for which device floor detection will be performed; wherein the floor characteristic indicates if a floor or floor section in a neighborhood of the location of the electronic device is of any of the following types: - a closed-floor type of at least part of the building, wherein the closed-floor type is related to at least one floor or floor section of the building with no opening; - an open-floor type of at least part of the building, wherein the open-floor type is related to at least one floor or floor section of the building with an opening that causes no significant attenuation, and/or causes less attenuation of a signal compared to an isolated-floor type; and - an isolated-floor type of at least part of the building, wherein the isolated-floor type is related to at least one floor or floor section of the building having a characteristic preventing signal from penetrating the at least one floor or floor section; - determining, or receiving,, at least one floor detection parameter based on the floor characteristic of the building, wherein the at least one floor detection parameter comprises a RSS, Received Signal Strength, threshold value related to a strength of a signal received from one or more radio beacons deployed across the floors of the building, said floor detection parameter affecting whether or not said one or more radio beacons are considered in the floor detection process; wherein determining of the at least one floor detection parameter comprises selecting the at least one floor detection parameter from a set of at least two different floor detection parameters based on the floor characteristic; and - using the at least one floor detection parameter in a floor detection process for detecting a floor the electronic device is currently located on, wherein the floor detection process is a part of a process for estimating a position of the electronic device, and wherein the floor detection process uses the at least one floor detection parameter as an input being considered when the floor detection process is caused to be performed and/or controlled, and wherein the floor detection process is additionally based on a fingerprint of radio beacons observed by the electronic device and a radiomap of observable beacons. - determining a floor characteristic from a map of a building, wherein the floor characteristic is a topological and/or structural characteristic of the building, and indicative of signal propagation between floors within the building and of an amount of radio signal leakage or penetration between the floors, wherein the floor characteristic is location-dependent within the building, and the floor characteristic is determined under consideration of a location of an electronic device within the building, for which device floor detection will be performed; wherein the floor characteristic indicates if a floor or floor section in a neighborhood of the location of the electronic device is of any of the following types: - a closed-floor type of at least part of the building, wherein the closed-floor type is related to at least one floor or floor section of the building with no opening; - an open-floor type of at least part of the building, wherein the open-floor type is related to at least one floor or floor section of the building with an opening that causes no significant attenuation, and/or causes less attenuation of a signal compared to an isolated-floor type; and - an isolated-floor type of at least part of the building, wherein the isolated-floor type is related to at least one floor or floor section of the building having a characteristic preventing signal from penetrating the at least one floor or floor section; - determining, or receiving,, at least one floor detection parameter based on the floor characteristic of the building, wherein the at least one floor detection parameter comprises a RSS, Received Signal Strength, threshold value related to a strength of a signal received from one or more radio beacons deployed across the floors of the building, said floor detection parameter affecting whether or not said one or more radio beacons are considered in the floor detection process; wherein determining of the at least one floor detection parameter comprises selecting the at least one floor detection parameter from a set of at least two different floor detection parameters based on the floor characteristic; and - using the at least one floor detection parameter in a floor detection process for detecting a floor the electronic device is currently located on, wherein the floor detection process is a part of a process for estimating a position of the electronic device, and wherein the floor detection process uses the at least one floor detection parameter as an input being considered when the floor detection process is caused to be performed and/or controlled, and wherein the floor detection process is additionally based on a fingerprint of radio beacons observed by the electronic device and a radiomap of observable beacons.