ArcGIS API for JavaScript 4.2 learning notes [0] AJS4.2 Overview, new features, future product line plans and AJS notes directory

Source: Internet
Author: User
Tags goto

Put a good mature ajs 3.19 do not learn, why to touch the AJS 4.2?

Gentlemen, I like the tender--yuck yuck.

Gentlemen, I like 3D? New things will replace old things not ~

ArcGIS API for JavaScript 4.2 overview

AJS 4.2, ArcGIS API for JavaScript 4.2, is a product developed by ESRI in the United States for the Webgis market using JavaScript and Dojo, which was launched in December 2016. The AJS 4.0 Beta was released a year ago.

With regard to the AJS3 and AJS4 choices, it is now possible that AJS4 is not enough 3 in some ways, especially in the analysis section, which surely will solidify the direction of ESRI in the coming years. No doubt. If urgent in brow need to develop a 2D data processing very strong Webgis application, then I still recommend AJS 3.19, after all, is very mature, AJS3 documents are also flying around. If you want to adapt to the trend of the next 5 years, I suggest still learn from AJS4, if have not learned AJS3 words.

Learn AJS3 also does not matter, AJS4 has many bright spots.

The so-called dictionary, Chew just.

Anyone with a certain geographic information system with an object-oriented development capability can quickly get started with AJS, which is how I feel. This blog is I read the first AJS program to write so far, in the past less than 10 days, remove the middle not to see the time of silence for 3 days. So, AJS is not very difficult. PS: I have c#+arcobjects Foundation, can independently complete a WinForm arcengine small project.

ajs4.x new Features

AJS4. X (hereinafter referred to as AJS4) is a product officially released in 16, and its new features are:

1.3D Support

This is not available in the 3.x version (hereinafter referred to as AJS3) and supports the construction of 3D maps and 3D scenes. For more 3D content, you can check the official release log.

2. Simplifying the API

The nonstandard class names in the AJS3 are normalized, and a batch of class names is simplified, and some classes are categorized as modules, which are easier to use. See the AJS3-AJS4 Change chart on the official website for details.

3. Direct use of attributes

Like the properties of C #, you can use "." Directly. The setproperty operator calls the property for the value, assignment, without the need to adjust the getProperty () and the non-concise notation.

4. There is a change in event monitoring

The Propertyname-change event is no longer listening for property changes in AJS4, and now only needs to use the. Watch (property, callback) method to listen for specific attribute changes. When the property changes, the callback function will be followed by a series of parameters, including the new value, the old value, the property name, and the Listener object.

5. Separation of data and views

In AJS3, map and layer objects are processed to draw the map, but are stripped out individually in AJS4 as a View object (2D is mapview,3d sceneview)

The View.map property can reference a map object, and a map object can be referenced by more than one view.

6. Only AMD mode is supported

What? Amd? Agricultural Enterprises? No comment for the time being.

7. Promise

The Gospel of asynchronous operations, then () method is simply the lifeline of multi-layered callbacks-exaggerated points. But promise as one of the new standards of 2015 ECMAScript, can be immediately adopted by AJS, indeed good, closely follow the trend.

Some geoprocessing tasks are done asynchronously on the server side, and even asynchronous callbacks can be asynchronous, and multi-layered asynchronous callback functions are not very well written. The official use of buffer as an example illustrates the benefits of then ().

Some classes inherit the Promise class, and some properties are promise types, and there are a number of methods that return value types that are promise types.

AJS 4.2 new features

1. Support Custom Widgets

In an official example, a third-party widget can be created using the front-end framework react and ANGULARJS.

2. More Widgets

Layerlist and print, that is, the layer list and printing widgets are available!

3. Upgrade vector tile layers and provide support

4. Mapview and Sceneview provide more event magnetism.

5. LiDAR Point Cloud Data support

6. Elevation Query API

7. Allow the custom Goto () method

AJS 4.3 and later what will be supported in the future

Data Editing (Editing)

Drawing tools (Draw and Edittools)

Support for more layer types: Georsslayer, Kmllayer, Wmslayer and Wmtslayer

Support for more shaders (Renderer)

Support for more widgets: basemapgallery, directions, featuretable, overviewmap, analysis widgets etc. (the last two of the horizontal groove to explode quickly out of the AH)

Support for Legend controls

Edit WebMap (Writing WebMap)

the other is not very good translation, just copy and paste it directly: Temporal awareness:rendering and filtering/geoenrichment/extensions for Operations dashboard/datareviewer tasks

————

More detailed content:

I'll extract some of the things that are important, and the rest directly refer to the official comparison chart.

Graphicsutils, spatial reference for raster imagery, get title and content of popups, more mouse keyboard events, enable/disable navigation, modify graphics, Featurelayer selection function/Edit function/query attachment, Bookmarkitem widget , bookmarks widgets, colorpiker widgets, elevation slider widgets, layerswipe widgets, ranging widgets, transparent widgets, scale bar widgets, symbol selector widgets, time slider widgets, and more.

AJS4 Product Upgrade Timeline

According to ESRI's custom, 3-4 months to release a new version, 2017 years to see the release of Ajs 4.3 and 4.4, one in March, one in July (AJS4.3 and AJS4.4 time officially given).

AJS3 will stop updating in 2017, but will still provide CDN support until AJS4 completely replaces it. AJS3 estimates there are 1-2 versions of the update, the content of the update is not very small, so it is a mature API, the rest is only minor repair.

See the know:

(the image is from the January 2016 document)

The table shows that AJS1 and AJS2 are retired, AJS3 is still providing support, and AJS4 is a beta version released in March 2016.

AJS3 will retire after 2 years, and AJS4 will retire in 3 years.

AJS3 will enter the mature operation stage in January 2017.

AJS4 will enter the mature operation stage in May 2018, as of writing articles, still have about more than a year time to look at the growth of AJS4.

Why did AJS3 and AJS4 retire for only 1 years? And the release time was a full 4 years. I guess AJS4 is just an ESRI test of 3D, the key to the integration with ArcGIS Pro, and the preparation for AJS5. Webgis is already the center of gravity of ESRI, how could it not be exerting its force on this? Especially 3D this piece, big data this piece, cloud computing this piece.

My AJS Study notes directory

Easy to access, click on the jump.

ArcGIS API for JavaScript 4.2 learning notes [0] AJS4.2 Overview, new features, future product line plans and AJS notes directory

ArcGIS API for JavaScript 4.2 Learn notes [1] Show Map

ArcGIS API for JavaScript 4.2 study notes [2] Show Map

ArcGIS API for JavaScript 4.2 Learning notes [3] official Chapter II Mapping and Views overview and explanation

ArcGIS API for JavaScript 4.2 Learning Notes [4] Chapter II Other examples of interest

ArcGIS API for JavaScript 4.2 Learning notes [5] official API Large chapters overview and content translation

ArcGIS API for JavaScript 4.2 Learning notes [6] goTo () Map animations

ArcGIS API for JavaScript 4.2 Learning notes [7] eagle Eye (thumbnail)

ArcGIS API for JavaScript 4.2 learning Note [8] 2D synchronized with 3D view

ArcGIS API for JavaScript 4.2 Learning note [9] same View different data (MAP) synchronization

ArcGIS API for JavaScript 4.2 learning notes [2D] Add North arrow widget, view save, view padding (end of chapter II)

ArcGIS API for JavaScript 4.2 Learning notes [11] official Fifth chapter popups (pop-up window) Overview and explanation

ArcGIS API for JavaScript 4.2 Learning notes [12] implementation of the first popup window (display coordinates)

ArcGIS API for JavaScript 4.2 Learning notes [13] TBD

ArcGIS API for JavaScript 4.2 learning notes [0] AJS4.2 Overview, new features, future product line plans and AJS notes directory

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.