Why WebScene can tilt larger than 90 degree but Javascript 4.0 API cannot?

1146
2
Jump to solution
08-25-2016 10:01 PM
MarkLam1
New Contributor

Hi all,

I am now writing a Web App using 4.0 API. I loaded a WebScene using the API and find that the tilt behavior is different than of opening the WebScene with Scene view in Portal for ArcGIS. The tilt degree for the API is 0 ~ 90 while that of Scene view is 0 ~ 180. It is necessary in my application to have a camera view with tilt > 90 degree. Kindly if there is any solution.

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
JohnGrayson
Esri Regular Contributor

SceneView.constaints doc says 0.5 to 179.5 degrees. Have you tried setting the constraints.tilt.max explicitly?

View solution in original post

2 Replies
JohnGrayson
Esri Regular Contributor

SceneView.constaints doc says 0.5 to 179.5 degrees. Have you tried setting the constraints.tilt.max explicitly?

MarkLam1
New Contributor

Thx a lot! It works great!

0 Kudos