Toggle 2D/3D

886
2
Jump to solution
06-19-2018 04:16 PM
RyanStrain
New Contributor III

Is there any way to add a 2D/3D toggle button to a WAB Developer Edition 3D application? To clarify- I've created a 3D web app and am wondering if I can toggle it into 2D mode such as this example shows-

Switch view from 2D to 3D | ArcGIS API for JavaScript 4.7 

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Ryan,


  Currently NO. The 2D app in WAB uses the 3.x api and 3D apps use the 4.x api. That sample uses the 4.x api for both 2D and 3D. WAB can not use 4.x for 2D because it is still lacking many features that are required and the  whole 2D environment has not been migrated to 4.x yet.

View solution in original post

2 Replies
RobertScheitlin__GISP
MVP Emeritus

Ryan,


  Currently NO. The 2D app in WAB uses the 3.x api and 3D apps use the 4.x api. That sample uses the 4.x api for both 2D and 3D. WAB can not use 4.x for 2D because it is still lacking many features that are required and the  whole 2D environment has not been migrated to 4.x yet.

RyanStrain
New Contributor III

Thanks for the quick response. I guess I'll wait for the 2D migration.

0 Kudos