Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/Esri/arcgis-viewer-flex

Source code for ArcGIS Viewer for Flex - a great application framework for web applications.
https://github.com/Esri/arcgis-viewer-flex

Last synced: 3 months ago
JSON representation

Source code for ArcGIS Viewer for Flex - a great application framework for web applications.

Awesome Lists containing this project

README

        

# arcgis-viewer-flex

This is the source code for the ArcGIS Viewer for Flex (a.k.a Flex Viewer). Learn more about Flex Viewer at [ArcGIS Viewer for Flex resource center](http://links.esri.com/flexviewer).

[View live app here](http://resources.arcgis.com/en/help/flex-viewer/live/index.html)

[![Image of Flex Viewer app](https://raw.github.com/Esri/arcgis-viewer-flex/master/arcgis-viewer-flex.png "Example Flex Viewer app")](http://resources.arcgis.com/en/help/flex-viewer/live/index.html)

## Features
* Ready-to-deploy GIS web client mapping app for ArcGIS Server.
* A complete web mapping application, and application framework that allows for ease and efficiency toward building web-mapping applications based on ArcGIS API for Flex.
* Many basemaps to choose from: Streets, Satellite, Topography, Oceans, Grayscale...
* Widgets provide specific functionality, but their source code can also be used as samples for other apps
* Easily configurable to meet custom business needs and requirements - no programming skills required to deploy.
* Viewer functionality is defined by widgets - many core widgets are included.
* New functionality can be created with custom widgets developed using ArcGIS API for Flex.

## Instructions (Getting Started)

There are three different ways of getting the source code from the GitHub web site: clone, [fork] (https://help.github.com/articles/fork-a-repo) and download zip. See http://links.esri.com/flexviewer-gettingstarted-developers for more details.

Once you have the source code on your own machine, you need to import it into Adobe Flash Builder.

1. In Adobe Flash Builder 4.6 or 4.7, go to "File" -> "Import Flash Builder project...", then depending on whether you have a zip file or not, follow step 2 or 3.
2. If you downloaded the zip file:
1. Keep "File" option selected, click "Browse..." button. Select the downloaded flexviewer-3.[*]-src.zip file, for example "C:\Documents and Settings\jack\My Documents\flexviewer-3.[*]-src.zip".
2. "Extract new project to:" textbox will be automatically set to location where the project source will reside, e.g. "C:\Documents and Settings\jack\Adobe Flash Builder 4.7\FlexViewer.
3. If you cloned and/or forked the repo:
1. Select "Project folder", click "Browse..." button and navigate to your local repo, for example C:\Users\jack\Documents\GitHub\arcgis-viewer-flex.
4. Click "Finish" button. Project will be created and displayed in the Package Explorer window of Adobe Flash Builder, e.g. in this case FlexViewer.
5. If prompted to upgrade the project (because it was created with a previous version of Flash Builder), click "OK"
6. If prompted to choose Flex SDK version, select "Flex 4.6.0" or higher.
7. Download API Library from http://links.esri.com/flex-api/latest-download. Unzip it.
8. Go to "Project" -> "Properties" -> "Flex Build Path".
9. Click "Add SWC" and navigate to the agslib-3.[*]-[YYYY-MM-DD].swc API library file.

Optionally:

1. Right click on this project (FlexViewer) -> Click "Properties" -> Click "Flex Build Path".
2. In the "Output folder" textbox at bottom, specify the location of your web server where your
Flex Viewer should be deployed, e.g. in case of IIS web server, C:\Inetpub\wwwroot\flexviewerdebug.
3. In "Output folder URL" text box, specify the URL that matches with your output folder specified in last step, e.g. http://localhost/flexviewerdebug/
4. Click OK
5. Rebuild the project.
6. Select the project. Now let's run it - there are multiple ways of doing this: one way is to click green triangle button on top, another way is click Ctrl-F11 and a third way is to click "Run" menu, then select "Run Index".
7. Browser will open and Flex Viewer application will be displayed.

## Requirements

* Knowledge of Flex development.
* A little background with Adobe/Apache Flex SDK.
* Experience with the [ArcGIS API for Flex](http://links.esri.com/flex) would help.

## Resources

* [ArcGIS Viewer for Flex Resource Center](http://links.esri.com/flexviewer)
* [ArcGIS API for Flex Resource Center](http://links.esri.com/flex)
* [Flex Viewer License agreement](http://www.apache.org/licenses/LICENSE-2.0.html)
* [Flex API License agreement](http://www.esri.com/legal/pdfs/mla_e204_e300/english.pdf)
* [Flex Viewer forum](http://forums.arcgis.com/forums/111-ArcGIS-Viewer-for-Flex)
* [ArcGIS Blog](http://blogs.esri.com/esri/arcgis/tag/flex/)
* [twitter@esri](http://twitter.com/esri)

## Issues

Find a bug or want to request a new feature? Please let us know by submitting an issue.

## Contributing

Anyone and everyone is welcome to [contribute](CONTRIBUTING.md).

## Licensing
Copyright 2012-2013 Esri

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

A copy of the license is available in the repository's [license.txt](https://raw.github.com/Esri/arcgis-viewer-flex/master/license.txt) file.

[](Esri Tags: ArcGIS Web Flex Viewer Map Library API)
[](Esri Language: ActionScript)