Showing 2D map using 4.x API in WAB

12-07-2021 10:37 PM
New Contributor

Is there an equivalent for createMap() function from "esri/arcgis/utils" in ArcGIS API for JavaScript 4.x ?
I am seeking to use 4.x JS API to build a Web AppBuilder application with a 2D map, is that doable in Web AppBuilder?

0 Kudos
2 Replies
MVP Esteemed Contributor

According to the WAB documentation:

Supported versions of ArcGIS API for JavaScript

2D apps support ArcGIS API for JavaScript 3.38, and 3D apps use ArcGIS API for JavaScript 4.21. See the API system requirements for additional information.

I think you're out of luck here. Experience Builder is pretty nice, though, if you don't need some of WAB's more niche widgets.

- Josh Carlson
Kendall County GIS
New Contributor

Is it possible to get a base map asynchronously by 4.21 API like  createMap() do in 3.x? Thank you!

0 Kudos