Select to view content in your preferred language

Camera Controller not working in 3D Map in AGSSceneView

994
1
Jump to solution
02-21-2022 01:49 AM
AfrozAlam
Occasional Contributor

I am trying to display a 3D map using AGSSceneView and using popup menu as Camera Controller. The parameters like Camera Distance, Heading Offset & Pitch Offset are not transferring the values to its respective control. I am attaching the screenshots and Code as well.

It would be very much appreciated if anybody can help me in this regard.

Afroz Alam

Afroz Alam
0 Kudos
1 Solution

Accepted Solutions
Ting
by Esri Regular Contributor
Esri Regular Contributor

Hi Afroz,

From your screenshot and code there isn't enough information to decide what is the problem.

Here are a few common things that are worth checking

  • Make sure you set the delegate and implemented its methods in the presenting view controller.
  • The IBOutlets and IBActions are correctly wired in storyboard
  • If you are passing variables/objects via segues, make sure you passed them correctly and the reference to the object is present.
  • Ensure the 2-way binding between the UIControls and their values are correct, i.e. NSKeyValueObservation plus IBAction

Hope it helps.

View solution in original post

0 Kudos
1 Reply
Ting
by Esri Regular Contributor
Esri Regular Contributor

Hi Afroz,

From your screenshot and code there isn't enough information to decide what is the problem.

Here are a few common things that are worth checking

  • Make sure you set the delegate and implemented its methods in the presenting view controller.
  • The IBOutlets and IBActions are correctly wired in storyboard
  • If you are passing variables/objects via segues, make sure you passed them correctly and the reference to the object is present.
  • Ensure the 2-way binding between the UIControls and their values are correct, i.e. NSKeyValueObservation plus IBAction

Hope it helps.

0 Kudos