The version of ArcGIS javascript API is updated to 1.2, and the following is added to the page:
<Script Type="Text/JavaScript"SRC="Http://serverapi.arcgisonline.com/jsapi/arcgis? V = 1.2"> </SCRIPT>
You can start to use the latest 1.2 feature. In the online example, you can use the corresponding interface. The specific updates include:
1. Support for image services
The ESRI. layers. arcgisimageservicelayer interface is added to call the Image Service released by the raster dataset or ArcGIS Server image, and draw and display the image together with the vector layer on the client.
2. Support for dojo 1.2
Every update to dojo has attracted countless eyes. In addition to ext, everyone is hopeful about the project with the greatest commercial support and solves bugs to improve efficiency. After all, its license is more popular.
3. dynamically display cached Layers
Setting Max scale and Min scale for dynamic layers is quite natural. Currently, a similar function is provided for cached layers to support specifying the map zoom level to display cache services, in the past, it was necessary to set in a map service. Now, multiple services (Dynamic layers and cache layers) can also switch between each other.
4. manually refresh the map
After editing the data, you need to manually refresh the map to enable the client to view the latest real-time data in time.
5. Improved graphics layer Performance
There are a large number of graphics on the map, and the aging rate will become low. Now we have made some improvements to the performance. To what extent can we achieve, we need to test.
6. Dynamic projection
In the past, the projection of map applications implemented by JavaScript APIS was determined by the basic layer. Now, dynamic projection can be used to match spatial references.
7. Geometry service update
The labelpoints method of ESRI. Tasks. geometryservices allows you to specify the position point displayed by the label in the polygon.
Bug fixes:
Nim034356Double-click Zoom is a default navigation type for the javascript API at version 1.2.
Nim031658Style attributes (style_dashdotdot and style_null) of simplelinesymbol now work as expected.
Nim038533Graphic. Attribute names that contain decimal points (mytable. Area) can be used in an infowindow through the graphic. infotemplate.Note: some new features require support for ArcGIS Server 9.3 SP1. It is best to apply the SP1 Patch to use with js api 1.2.