GPS Location used to move around the map

Include the following details (edit as applicable):

  • Issue category: Lightship Maps / Semantic Segmentation / Multiplayer / Real-time Mapping-Depth / ARDK Documentation / Unity Example Package / Sample App aka ‘AR Voyage’ / ARDK Virtual Studio Tools / Developer Tools / Networking / VPS / Scanning Framework
  • Device type & OS version: Android / iOS / Other Ex. iPhone 8+ on iOS 13
  • Host machine & OS version: Mac / Windows / Linux / Other Ex. Mac on Big Sur x.x
  • Issue Environment : Unity Remote / Unity Mock / On Device / Dev Portal
  • Xcode version:
  • ARDK version: 3.0.0
  • Unity version: 3.6.0

Description of the issue:

I can’t find any documentation on the map location to be determined by the devices GPS. Is there a way to do this? Has it been documented?

Hello Cormac,

Unity has a LocationService that you can call to get the device coordinates. You can adjust the parameters of accuracy and distance by referring to Unity’s docs here. You could also look at this community post that discusses how to initialize maps with the device’s GPS coordinates at runtime.