When using the ArcGIS Location Component I can see the latitude and longitude in the inspector window. However, how do I access these values from script? I'd like to know the current position of the player.
GO.GetComponent<ArcGISLocationComponent>().Position.X or Y
Why did I report an error "The type or namespace name 'ArcGISLocationComponent' could not be found"😭
Add using Esri.ArcGISMapsSDK.Components;
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.