what's new in arcgis api for flex · •Client-side -FeatureLayer, GraphicsLayer -Use logic to...

Preview:

Citation preview

What’s New in ArcGIS API for Flex Bjorn Svensson Lloyd Heberlie

Introduction

• Who are we? • Who are you?

- Developers - Project Managers, etc - ?

What’s next for Adobe and Apache Flex

• Apache Flex - http://incubator.apache.org/flex/

• Adobe Products and Runtimes - Adobe Flash Builder - Adobe Flash Platform Runtimes (AIR, Flash Player)

- Desktops (AIR, Flash Player) and Mobile (AIR) - Adobe’s Flex Roadmap

- http://www.adobe.com/devnet/flex/whitepapers/roadmap.html - Adobe’s Flash Roadmap

- http://www.adobe.com/devnet/flashplatform/whitepapers/roadmap.html

Agenda

• What’s new - ArcGIS 10.1 - ArcGIS API for Flex - ArcGIS Viewer for Flex

• Sharing code across platforms • Migrating from … • Road Ahead • Getting more information

What’s new in ArcGIS 10.1

What’s new in ArcGIS 10.1

• ArcGIS 10.1 - http://resourcesbeta.arcgis.com/en/help

• REST API - http://resourcesbeta.arcgis.com/en/help/rest/apiref/

What’s new in ArcGIS API for Flex

ArcGIS API 3.0 Prerelease for Flex

• ContentNavigator (popup) displays multiple features • GP cancel jobs and getResultMapServiceLayer • Built-in graphics layer • KML refresh, httpquery • Geodatabase version, better relationship support • Improved PrintTask (demo) • Editor tracking, show hide editor tracking fields

(demo) • IdentityManager, supports ArcGIS secure services

(demo)

ArcGIS API 3.0 Prerelease for Flex, cont.

• Geometry support for m and z values • Improved 10.1 editing experience • Network Analyst 10.1 support • Generate renderers • Advanced Queries (supportsStatistics) • Dynamic layers (layer ordering, drawingOptions)

[demo] • Dynamic workspaces [demo]

Let’s talk about workflows Rendering and Symbology

• Client-side - FeatureLayer, GraphicsLayer - Use logic to create your own renderer and symbology - Graphics are already in browser - Potential graphics limitations, network payload

• Server-side - MapServer (dynamicLayer) - Tell server to generate render and symbology - Supports thematic mapping for large complex datasets - No geometry payload and dynamic rendering

Let’s talk about workflows Editing

• Control functionality through Editor component - Add, delete, updateAttributes, updateGeometry

• Edit component respects service Drawing Tool Type • Geodatabase versions • Leverage Ownership based access Control

Ownership based access control

• Geodatabase configuration - Enable editor tracking - Creator, editor, date/timestamp

• Feature service configuration - Allow geometry updates - Operations for features created by others - Anonymous or user login

• Combine with secure services - IdentityManager

Editor tracking

Demo

Dynamic Layers

• Requirements - File GDB or Enterprise GDB - Capability during publishing

• Supports Dynamic Layers: true • Rearrange layer order • Modify symbology of layers in service • Dynamic per request • Create and specify your own layerDrawingOptions

Dynamic layer symbology and layer order

Demo

Dynamic Workspaces

• Registered workspace - Enterprise GDB - File GDB - Rasters - Shapefiles

• See - dynamic layers - dynamic workspaces - Supported functionality in map services

Dynamic workspaces

Demo

What’s new in ArcGIS Viewer for Flex

What’s new in ArcGIS Viewer for Flex

• Application Builder • Support for ArcGIS 10.1

- Enhanced Printing - Enhanced Editing - Enhanced Geoprocessing

Application Builder

Demo

Sharing code across platforms Desktop apps, Desktop browser, Mobile

Desktop (AIR), Desktop Browser (Flash Player), Mobile (AIR)

Demo

Sharing code across platforms

Web (runs in Adobe Flash Player)

Desktop (runs in Adobe AIR)

Mobile (runs in Adobe AIR)

Flex Library Project (generic library)

Flex Library Projects

• Repository for reusable code - Share code between apps

• ActionScript Documentation - ASDOC

• ANT - Automate tasks

Desktop applications (AIR)

• Adobe Integrated Runtime • Desktop apps

- Application Builder - TweetDeck

• WindowedApplication • More access to local resources

- Filesystem - SQLite

Desktop browsers (FlashPlayer)

• Targeting web browsers on the desktop • FlashPlayer

Mobile (AIR)

• Adobe Flex SDK 4.6 • Adobe Flash Builder 4.6 • Flex Mobile Project

- iOS, Android, Blackberry - AIR Native Extensions (ANE)

• Testing during debug • Export, cross compile into / with AIR Captive Runtime • http://help.adobe.com/en_US/flex/mobileapps/WS8b1

c39bd7e9fc364185d7f9f12ed9b9f7ec-8000.html

Migrating from …

Migrating to 3.x

• Adobe Flex 4.5 SDK or above • Adobe Flash Player 10.2

• Minor name changes • See migrating to 3.x

- http://resourcesbeta.arcgis.com/en/help/flex-api/concepts/017p/017p00000024000000.htm

Upgrading to 3.x

• You can always use the newer API with an older ArcGIS Server

• Some new API functionality requires ArcGIS Server 10.1

Road Ahead

A little future

• Next release - Before User’s Conference – 3.0

Road ahead

• ArcGIS API 3.x for Flex - Full ArcGIS 10.1 functionality - Support for ArcGIS Online API

• ArcGIS Viewer 3.x for Flex - Custom widgets in Application Builder - Hosted applications on ArcGIS.com - Auto upgrade existing application - Thematic / Dynamic layers Widget - Integrating user contributions using Github

ArcGIS Resource Center

http://resourcesbeta.arcgis.com/en/communities/flex-api/

ArcGIS Resource Center New Samples

http://resourcesbeta.arcgis.com/en/communities/flex-api/

Getting more information

Esri Training for Developers http://www.esri.com/training

• Instructor-Led Courses - Building Web Applications Using the ArcGIS API for Flex - Introduction to ArcGIS Server - Creating Effective Web Applications Using ArcGIS

Server

• Online Training Seminars - Free, one-hour presentation and demos by Esri

technical experts - Live seminar broadcast on a new topic every month

Flex SDK resources

• Adobe Flex Developer Center - http://www.adobe.com/devnet/flex.html

• Adobe TV - http://tv.adobe.com/search/?q=Flex

• Flex in a week - http://tv.adobe.com/show/flex-in-a-week

• Tour de Flex - http://www.adobe.com/devnet/flex/tourdeflex.html

• Conferences - Adobe MAX - 360 Flex

2012 Developer Summit: Technical sessions

• Advanced Development with ArcGIS API for Flex - Wed 2:45 – 4:00 PM Primrose A (PSCC)

• Configuring and Customizing ArcGIS Viewer for Flex - Thurs 10:15 – 11:30 AM Catalina/Madera (RH)

• Killer Apps: HTML5 and Flex - Wed 4:30 – 5:45 PM Catalina/Madera (RH) - Thu 1:30 – 2:45 PM Catalina/Madera (RH)

• Building Web Editing Applications with ArcGIS 10.1 for Server

- Thursday, March 29, 2012, 3:15pm-4:30pm, Primrose C/D (PSCC)

PSCC (Palm Springs Convention Center) and RH (Renaissance Hotel)

Summary

• What’s new - ArcGIS 10.1 - ArcGIS API for Flex - ArcGIS Viewer for Flex

• Sharing code across platforms • Migrating from … • Road Ahead • Getting more information

Please complete the session survey!

Questions and Answers

Recommended