Transcript
00:01I'm going to use Flex to highlight some of the new functionality at 10.1.
00:04One of the cool things is dynamic layers.
00:06At 10.0, we supported dynamic map services where you could turn on and off layers.
00:11With 10.1, and the dynamic layer capability, you can the symbology on the fly.
00:16You can change the order of the layers, and you can even add layers on the fly.
00:20Let me show you how.
00:24In this application, I'm using dynamic layers, and each time I pan...
00:28...the rendering is being sent to the server, and the server is creating this image.
00:32To see the performance, we can change the number of classes, can change the number of the colors...
00:42...change the colors, and as I change the colors, the map updates pretty quick.
00:47This is ArcGIS Server 10.1.
00:50Let me show you some code for doing this.
00:55In Flash Builder, I'm writing this custom widget.
00:59I'm taking advantage of some of the new functionality at 10.1, layer drawing options.
01:03And it's quite simple. There's two steps. The first one is to specify which layer I want to use.
01:08And the second step, what renderer do I want to use to this.
01:12I add it to my map, and the map refreshes. Pretty straightforward. And this is the map you have.
01:26You might recognize this application as a Flex viewer application.
01:29Many of you have already used the Flex viewer. It's been out for quite a few years...
01:33...and it's got a lot of feedback, a lot of people using either configuration files or writing source code in Flash Builder.
01:39This here is the 3.0 prerelease version that was released last week.
01:44It has a new few new features, but one of the best features, I think, that we added last year was an Application Builder.
01:52The Application Builder allows you to easily assemble Flex viewer application.
01:57The first step is to create an application, is create the folder where it copies out all the application files that are needed...
02:05...and you could just either edit them manually or you can use the Application Builder to edit things.
02:11I'm going to create the map with a few basemaps.
02:15I'm going to add an operational layer.
02:17In this case, it's a layer that supports dynamic layers.
02:20This is a capability that you enable when you publish your map service.
02:27It's an American service so I'm going to zoom into the US, I'm going to save it.
02:32We've improved the widgets to support 10.1 functionality.
02:35For example, the Edit widget supports owner-based access control and a lot of other new features at 10.1.
02:41The Geoprocessing tool...widget has been updated to support the new geoprocessing functionality.
02:47And the Print widget supports high-quality PDF printing.
02:53For this demo, I've also added the custom widget I created in the last application.
02:58Being able to support custom widgets in Application Builder is a new feature for the 3.0 final release.
03:06In this case, I just make sure it points to my service that I've added. I save it.
03:13I go to preview it in a browser, and I should have an application very similar to the one I created...
03:20...the one I created in the...there we go...created from Flash Builder directly.
03:31Last year, not only did we add the Application Builder, we also open sourced our Flex viewer.
03:40All the code is available on GitHub. You can download it, you can access it...
03:45...compare it to the later versions, a strong capability.
03:48And we hope you take advantage of GitHub to enable also feedback to our Flex viewer code.
Developing Applications with ArcGIS API for Flex
Bjorn Svensson shows how to build applications with ArcGIS API for Flex.
- Recorded: Mar 26th, 2012
- Runtime: 04:01
- Views: 885
- Published: Apr 19th, 2012
- Night Mode (Off)Automatically dim the web site while the video is playing. A few seconds after you start watching the video and stop moving your mouse, your screen will dim. You can auto save this option if you login.
- HTML5 Video (Off) Play videos using HTML5 Video instead of flash. A modern web browser is required to view videos using HTML5.
Right-click on these links to download and save this video.
- 480x270:WebM (9.0 MB)MP4 (9.4 MB)
- 960x540:WebM (23.3 MB)MP4 (24.7 MB)
If you don't have an Esri Global Login ID, please register here.