Indoor Location , getting x,y coordinate of user in map floor

Hello
the problem that i’m facing is that how to get the position of user and draw it into my floor map .
besides thats i have a approach to upload map floor as an uiimage view in iOS ,then from pixel, i will fixed the position with referencing pixels in meter . i would like if there is an another approach .
Thank you