nothing changes on the map. What could be the problem here? Also is setting showTrace to true the way to go if I want to show the users current location on the map? Thanks for any help. I also tried setting these properties before the map is drawn, still nothing changed. The view displays the room borders only and the beacons.
Thanks guys. I just still have a problem. I get all the changes now except show trace. Since there is no real documentation on indoor api other than what I can open by myself in xcode I wanted to is the show trace supposed to show the users current location in the room or something else?
In short: how am I supposed to use to show the location?
So the icon showing the position of the user should be visible by default? Because it is not when I run it with the code above. I have been trying to play with the positionImage and positionView and setting them but nothing worked to let me see the users location. I will be happy to provide any more data so we could debug this together.
Could it be that I am missing some permissions?
UPDATE: I have tried setting the positionImage to my custom image but it does not work. Basically I can’t get the user location to show. I have checked my CLLocationManager.authorizationStatus() and it always returns authorized and CLLocationManager.locationServicesEnabled() returns true.
I also have NSLocationAlwaysUsageDescription in my Info.plist file. I can’t figure out why the user location wont show by default… :/. Any ideas guys?
Were you ever able to figure out what the problem was for you in regards to the position not showing. I am having the exact same problem. Initially, this worked for me in a very simple app I did, but now that I have it integrated into a more complex view, for some reason I am unable to get the location to show. Everything else is working as expected.