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
Solved! Go to Solution.
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.
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.
Thanks for the quick response. I guess I'll wait for the 2D migration.