0

I need to location of floor where is user currently locating and I tried two ways

using CLLocation and location.floor?.level and google elevation API

https://developers.google.com/maps/documentation/elevation/start

but on the First case, I got nil and the second case I get the elevation which I got in the first case but I didn't floor.

so how to get floor ? thanks

Nirav Hathi
  • 1,507
  • 3
  • 12
  • 20

1 Answers1

0

From my understanding :

If floor information is not available for the current location, the value of this property is nil.

https://developer.apple.com/documentation/corelocation/clfloor/1616759-level

Arasuvel
  • 2,971
  • 1
  • 25
  • 40