-
Notifications
You must be signed in to change notification settings - Fork 9
Developers
This is the documentation for developers wanting to download the ArcGIS Viewer for Flex source code and customize the HeatMap widget source code.
Note: If you are a developer, the assumption is that you are familiar with MXML, ActionScript™, Apache Flex®, Adobe® Flash® Builder®, and ArcGIS Server services. In addition, you know how to compile the ArcGIS Viewer for Flex source code.
If you are new to developing with the ArcGIS Viewer for Flex, for more information read Getting started for developers on the ArcGIS Resource Center.
For more information on creating custom widgets read Creating widgets on the ArcGIS Resource Center.
For more information on packing custom widgets for Application builder read Packaging custom widgets for Application Builder on the ArcGIS Resource Center.
- You have knowledge of Adobe® Flex® / Apache Flex® SDK development (MXML and ActionScript™) or are willing to learn.
- Experience with the ArcGIS API for Flex will help tremendously.
- You are able to compile code with Adobe® Flash® Builder® or some other Integrated Development Environment (IDE).
- You have an understanding on how to publish and consume ArcGIS Server services, if you are going to use your own service instead of one hosted by someone else.
- ArcGIS API for Flex
- ArcGIS Viewer for Flex
- Adobe® Flash® Builder® or (Java™ and Apache Ant™)
####Before you begin:
If you are going to compile this widget on your own, make modifications, etc, you may need to do all of the following, if you have not done so already:
-
Create an 'Esri Global Account' (*required to download the ArcGIS API for Flex).
-
Download the ArcGIS API for Flex library (*required to compile the viewer).
-
Download the ArcGIS Viewer for Flex source code from GitHub (*required to compile the widgets).
-
Download the heatmap-widget-flex source code from GitHub.
-
Other software:
- Adobe® Flash® Builder®
- or
- Download Java™ and Apache Ant™ (requirements) (*required if you DO NOT plan on using Adobe® Flash® Builder®)
See the ArcGIS Viewer for Flex Getting started for developers concepts for general details, and the Readme in the ArcGIS Viewer for Flex repository for more information on getting started with compiling the viewer source code.
####Development Workflow Options:
-
Option 1 (Quick compile): Use this option if you just want to compile and use right away without any modifications.
- Compile using the command line (*requires Java™ and Apache Ant™, see the requirements section).
- or
- Compile using Adobe® Flash® Builder® (*includes Java™ and Apache Ant™)
-
Option 2 (Setup for Development): Use this option if you plan on making modifications to the HeatMap Library or HeatMap widget. In this option you will setup a Flex Library Project using Adobe® Flash® Builder®, and then add the HeatMap Library (Flex Library Project) and the HeatMap Widget as resources to your ArcGIS Viewer for Flex project using Adobe® Flash® Builder®.
a. Create the HeatMap_Library Project by creating a Flex Library Project in Adobe® Flash® Builder®. Use Adobe® Flash® Builder® to setup a Flex Library Project.
b. Create a Flex Project for the Flex Viewer in Adobe® Flash® Builder® by importing the ArcGIS Viewer for Flex source code (arcgis-viewer-flex). Use Adobe® Flash® Builder® to setup a Flex Project.
c. Add the HeatMap_Library (Flex Library Project) as a reference to your ArcGIS Viewer for Flex project in Adobe® Flash® Builder®. Add the heatmap-widget-flex code found in heatmap-widget-flex/viewer-HeatMapWidget/src as a reference to your FlexViewer project in Adobe® Flash® Builder®. Using Adobe® Flash® Builder® to setup the HeatMapWidget.
HeatMap Resources
ArcGIS Resources
- Creating widgets
- Packaging custom widgets for Application Builder
- ArcGIS Viewer for Flex Resource Center
- ArcGIS API for Flex Resource Center
- ArcGIS API for Flex Forums
- Flex Viewer License agreement
- Flex API License agreement
Flex Resources
- Apache Flex®
- Tour de Flex
- Flex in a Week
- ActionScript™ 3.0 Reference
- Adobe® Flex® Developer Center
- Programming Adobe® ActionScript™ 3.0
- Adobe® Flash® Player® Developer Center
- Adobe® Flash® Player® Support Center
- Adobe® Flash® Player® Help
Git Resources
- [What is Git?](http://en.wikipedia.org/wiki/Git_(software\))
- Git Software
- Try Git
- Git Reference
- A successful Git branching model
- Markdown
- Markdown Syntax at Daring Fireball
- Introduction to GitHub Flavored Markdown (GFM)