Hello,
I'm using an AGSSceneView with no elevation and the method locationToScreen calculate the location of the AGSPoint as if the scene had an elevation which causes wrong values of the screenPoint.
When I remove the elevation from the AGSPoint, I get the correct values.
I think that's something that could be fixed.
Thank you
Solved! Go to Solution.
I aplogize, there's no problem in the method.
I was confused by the overlay.sceneProperties?.surfacePlacement = .drapedFlat that do not affect the scene still being in 3D.
Hello! What kind of wrong values are you seeing with the screenPoint? Can you provide some sample values of the inputs to "locationToScreen" and the incorrect output values you are getting? Where are the input points coming from?
Also, what version of the Runtime SDK are you using?
Thank you,
Mark
I aplogize, there's no problem in the method.
I was confused by the overlay.sceneProperties?.surfacePlacement = .drapedFlat that do not affect the scene still being in 3D.
Ok, great, I'm glad you resolved the issue. If you have any other questions, please let us know.
Mark