<\/HEAD>
With the 4.x series of the ArcGIS API for JavaScript, Esri has released a newly revised version of the API that supports not only 2D maps but also 3D maps. The API has been fundamentally redesigned and optimized for ease of use.<\/SPAN><\/P>3D applications can be created with version 4.0 based on Web Scenes, which allow three-dimensional data to be displayed.<\/SPAN><\/P> <\/P>
<\/A><\/P> <\/P>
Programming for 2D and 3D maps is very similar or almost identical. In the current version 4.0, not all features available in the 3.x version for 2D maps are yet present. The differences can be found in a
comparison matrix<\/A>.<\/SPAN><\/P> <\/P>
Using 3D maps is as easy as with 2D maps<\/SPAN><\/H1> <\/P>The new API offers a unified programming model for 2D and 3D maps. This includes a separation between the Map as a model and the MapView (2D) or SceneView (3D) as the view component. A Map object can be used in both a 2D and a 3D map. Other properties such as layers, geometries, symbology, renderer, tasks, popups, etc., are equivalent for both 2D and 3D maps. For 3D maps, additional special 3D symbols are added.<\/SPAN><\/P>
<\/A>
<\/A><\/P> <\/P>
Using data from Web GIS<\/SPAN><\/H1> <\/P>Web Scenes provided in ArcGIS Online or via Portal for ArcGIS can be used as data sources for 3D maps. The procedure is as simple as with 2D web maps. You simply load the Web Scene via its item ID. Likewise, individual layers from ArcGIS Online or Portal for ArcGIS can be loaded via their ID and added to the map to combine content from different sources.<\/SPAN><\/P> <\/P>
<\/A><\/SPAN><\/P> <\/P>
Improvements for the user interface<\/SPAN><\/H1> <\/P>Several usability improvements have been implemented in the 4.0 API, e.g., through simple and flexible positioning of UI elements, a redesigned popup window, improved widgets, and more. Popups can now have a default position defined, such as the top right corner. Popup actions with custom functionality can also be defined and integrated as buttons in the popup. The appearance of widget graphical interfaces can easily be customized via CSS or even completely replaced by a custom interface.<\/SPAN><\/P> <\/P>
Using Vector Tiles
The new Vector Tiles can be used in the 4.0 API via their own layer type. With Vector Tiles, tile data is stored not as an image but as a vector representation and then drawn client-side. Vector Tiles are characterized by low data volume and high resolution even at large scales. The display of content can be customized with Vector Tiles so that you can assign your own style to a layer and thus design its appearance individually.< /SPAN></ P> < P style='min-height :8 pt ;padding :0 px ;'> </ P> < P > < A href = "https://community.esri.com/legacyfs/online/212135_Scene4.png">< IMG alt = "Scene4.png " class = "image-4 jive-image " height = "327 " src = "https://us.v-cdn.net/6038851/uploads/legacyfs/online/212135_Scene4.png " style = "width :620 px ; height :313 px ; " width = "647 " / ></ A ></ P > < P style = "min-height :8 pt ;padding :0 px ; "> </ P > < P >< SPAN style = "font-family : 'times new roman', times ; ">An overview of the new version 4.0 of the API can be found at< / SPAN ></ P > < P >< A _jive_internal = "true " href = "https://community.esri.com/external-link.jspa?url=https://developers.arcgis.com/javascript/latest/guide/index.html " target = "_blank ">https://developers.arcgis.com/javascript/latest/guide/index.html< / A ></ P > < P style = "min-height :8 pt ;padding :0 px ; "> </ P > < P >< SPAN style = "font-family : 'times new roman', times ; font-size :12 pt ; ">Those who want to try out the many new possibilities of the JavaScript API will find tutorials, an API reference, and numerous examples at< / SPAN ></ P > < P >< A _jive_internal = "true " href = "https://community.esri.com/external-link.jspa?url=https://developers.arcgis.com/javascript/ " target = "_blank ">https://developers.arcgis.com/javascript/< / A ></ P > < / BODY >< / HTML >