Hi,
ArcGISRaycastHit in ArcGisMapComponentoutput.layer = View.Map?.FindLayerById(renderable.LayerId);gives null when hitting an BuildingSceneLayer.Greets
Hello, With this i call the featureID:
public RaycastHit hitData0; if (Input.GetKeyDown(KeyCode.JoystickButton0))//KeyCode.Mouse0(KeyCode.JoystickButton0 { if (Physics.Raycast(transform.position, transform.forward, out hitData0)) { var arcGISRaycastHit = arcGISMapComponent.GetArcGISRaycastHit(hitData0); var layer = arcGISRaycastHit.layer; featureId = arcGISRaycastHit.featureId;
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.