Tag: 4.6

Tips and Tricks for Navigating the ArcGIS API for JavaScript Website

LiveByTheCodeEsri

At version 4.0, we didn’t just rebuild the API to make it stronger and more efficient, we also rebuilt the SDK to make it easier for developers to find the information they need to be successful. A previous blog post … Continue reading

Posted in App Developers, Developer, Web | Tagged , , , , , , | Leave a comment

ArcGIS API for JavaScript – Improved Website Accessibility

SiteWideShortcuts

At version 4.6 (and 3.23), we introduced some website enhancements that included Keyboard Accessibility support to the Home, Guide, API Reference, Sample Code, and Sandbox pages. These new keyboard shortcuts will increase your productivity by making the SDK easier to navigate. … Continue reading

Posted in App Developers, Developer, Web | Tagged , , , , , , | Leave a comment

Improved TypeScript development with ArcGIS API for JavaScript

The TypeScript declaration file for the ArcGIS API for JavaScript contains type information specific for the API. You can learn more about how to install this file from the TypeScript set up guide page or on GitHub.
Continue reading

Posted in App Developers, Apps, Developer, Web | Tagged , , , , , | Leave a comment

Making Better Promises

This blog post will discuss a change to our implementation of promises, a change towards making a better promise. Numerous classes in the ArcGIS API for JavaScript resolve to promises. This is the case for WebMapWebSceneMapViewSceneViewBasemapGroundLayers, and LayerViews.

Typically, you would use the then() method to be advised when one of these objects is ready to be used. In fact, many samples in the ArcGIS API for JavaScript SDK use then() on a MapView or on a SceneView to wait for the view to be ready before executing the rest of the application code.
Continue reading

Posted in App Developers, Developer, Web | Tagged , , , , , | 3 Comments