Subscribe

  • Subscribe  

GeoWeb Flex Viewer Grows with more Widgets

Posted by Moxie Zhang | July 9, 2009 .

It’s been more than half year past since the release of ESRI ArcGIS API for Flex based geoweb viewers (Flex and JavaScript). I wrote about the design and architecture of the viewers and showed some real life examples. Since then, the community has taken it on and started sharing and contributing. Besides the widgets come with the viewer (RSS, LiveLayer, Search, etc.), there are very good and useful widgets created by the users for the Flex Viewer. The best part, they are all free. Here are some of them:

Widgets Author’s Description
Select by Attributes Widget  GeoWeb Flex Viewer Grows with more WidgetsAS16419 GeoWeb Flex Viewer Grows with more WidgetsI created a Select by Attributes Widget, based on the Search Widget provided by ESRI, this is a version that you can use to emulate the Select by Attributes tool of ArcMap. The layer can come from different feature classes such as point, polyline or polygon. The Widget has tools to do actions such as zoom to selected features, pan to selected features, verify query, etc. You can define the fields to be query and the fields to be returned by the query, for each layer.
Route Widget  GeoWeb Flex Viewer Grows with more Widgets
AS16371 GeoWeb Flex Viewer Grows with more WidgetsI created a routing widget from the Routing Task samples provided by ESRI. The widget allows you to interactively add stops and barriers to the map and instantaneously creates a route. I have added options to create a route either by shortest time or distance. I have also added a check-box to compute best sequence to visit stops when more than three stop locations are selected on the map. For best sequence, the first and last stops are preserved, so it computes best sequence between first and last stop. You may select any of these options while stops/barriers are added, and the route will be updated
accordingly.
Mag Lens Widget AS16360 GeoWeb Flex Viewer Grows with more WidgetsI was ask some time ago to do a magnifier widget like the silverlight api. Well, I wasn’t real happy with the eye candy but not very functional model that silverlight had for theirs. I hope that this one will prove useful, as it is not limited to one specific layer but duplicates all layers in your current map to include graphiclayers. This Flex version also has 3 zoom levels and a close button right on the lens ring.
New Locate Widget This new locate widget for sample viewer give the ability for users to use their own geocode
service that is in a different projection than the map, by projection the address candidate results to the maps spatial reference. See the readme inside the zip file source mxml and compiled swf included. The compiled swf is for 1.2 Flex API only.
Static Legend Widget This widget loads an image into the display window. This allows you to create a legend in ArcMap, make a image out of it and display it in the flex app.
Parcel Notification Widget This widget for the Sample Flex Viewer was created for the “Creating Effective Webmaps” Seminar Series. It allows for a land parcel to be located from an ArcGIS Map Service by searching for an address or parcel id. Using the located parcel, the user can search for all other parcels within a given buffer distance. If running a Flex Viewer configured for Flash Player 10, all selected parcels can be exported to the file system as a .csv table and opened in a text editor or Microsoft Excel. The widget includes a config file which allows for configuration of custom data, locators, etc. Source files are included along with the compiled .swf.
Parcel Locator Widget This widget for the Sample Flex Viewer was created for the “Creating Effective Webmaps” Seminar Series. It allows for a land parcel to be located from an ArcGIS Map Service by searching for an address or parcel id. The widget includes a config file which allows for configuration of custom data, locators, etc. Source files are included along with the compiled .swf.
Sample Solar Radiation Analysis and Widget The ESRI Spatial Analyst Extension provides tools for calculating Solar Radiation potential.
This sample provides a geoprocessing model that can be configured with your own data (DEM with accurate surface values) and published with ArcGIS Server to process the solar potential. This is a very similar geoprocessing model to what the City of Boston uses:http://gis.cityofboston.gov/solarboston/

Also included with a model is a Flex Widget that plugs into the ESRI Flex Sample viewer. The widget allows the user to draw a polygon where solar panels may be placed on a rooftop, which will run the provided model that has been published to ArcGIS Server. It also gives the user the option to pre-process their data and click on existing buildings to query the solar potential.

Enhanced version of Locate Widget enhance locateHere is a replacement for the LocateWidget that comes “out of the box” with the sample flex viewer.Simply drag and drop (replace) your existing files with this.

This adds a new option to search using geonames. Basically it estabishes a HTTP connection to geonames.org webservice, and returns the restults.

If you are interested in just the bare bones code to get this working, check out the standalone “geonames.mxml” (included in this zip)

Checkout http://www.geonames.org/export/geonames-search.html for more information on the geonames.org web service.

NOTE: Sometimes the geonames.org webservices go down or can be slow to respond.

Dice Job Searcher Widget dice widgetPlease be sure to cast your votes in the code challenge for whichever mashup you find to be the most creative, applicable, and original.This widget that I created to add on to the ArcGIS Flex 9.3 viewer released by ESRI is functionally rather simple and as a mashup fairly complex. The “heavy lifting” in this application is the parsing of hundreds of html records that come back from the server and making sense of the job entries into location categories. I’ve found the application very useful for getting a sense of where the jobs are for particular technologies.
Map Navigation Widget  GeoWeb Flex Viewer Grows with more WidgetsAS16052 GeoWeb Flex Viewer Grows with more WidgetsThe MapNavigationWidget provides an alternative to the menu based navigation provided with the Sample Flex Viewer (SFV). Now utilizing the core framework of the SFV, this widget features a traditional text labeled, button oriented UI with tools for zooming, panning, previous, full and next extent while also adding the capability to zoom to a specified map service.
Extended OverviewMap Widget overviewDerived from the OverviewMap Widget provided by ESRI in the Sample Flex Viewer, this new version allows user to go through the history of the map extents (using previous and next buttons located in the Widget).
Charts and Statistics Widget chartDerived from the Charting Widget, this widget is a more advanced version that you can use to display the distribution of feature attribute values (selected by the user) with a pie chart or a column bar chart. The layer can come from point, polyline ou polygon feature class. The selection tools have been extented to support selection by points and polylines with buffering options.This widget is intended to be integrated into the “Flex Viewer Sample”. Versions 1.0 and 1.1 of the ArcGIS API for Flex are supported. This module requires an ArcGIS Server Map Service containing the feature layer the statistics will be based on.
Charting Widget chartThis sample widget was designed specifically to extend the functionality of the base Sample Flex Viewer with demographic charting/reporting capabilities.
Identify Widget idThis sample widget was designed specifically to extend the functionality of the base Sample Flex Viewer with feature identify functionality. [

In addition to the widgets, some users also customized the viewer and share them. Some examples here:

Google Streetview Integrated google viewDemonstrates an interactive, two-way communication between a Google Streetview Panorama and an ArcGIS Flex API solution.Code for a standalone Flex Application, as well as code for a Flex Viewer Widget Module is included.
Sample Flex Viewer with Proxy support proxySample Flex Viewer was modified to support proxy pages that may be used to access secured ArcGIS Server services. A new xml tag is added in the application configuration file to allow you to set the URL to proxy the request through. Both the compiled form and source code is available for download.
Shortcut Menu for Sample Flex Viewer  GeoWeb Flex Viewer Grows with more WidgetsAS16224 GeoWeb Flex Viewer Grows with more WidgetsThis is an enhanced version of the out-of-the-box viewer, with shortcut menu functionality. You will have a quick menu to select the maps or the widgets from. Also, the quick menu enables efficient navigation of the map. The menu icons include tooltips. The download contains few new components and some other files that need to be replaced in the original flexViewer. Please read the ‘readme’ for instructions to install the new files.
Sample Viewer Banner with Coordinate Display AS16355 GeoWeb Flex Viewer Grows with more WidgetsThis is just a simple update to the Sample Viewer Banner that adds 2 new features.
Sample Flex Viewer with Localization Support  GeoWeb Flex Viewer Grows with more WidgetsAS16426 GeoWeb Flex Viewer Grows with more WidgetsThis version of the Sample Flex Viewer application has been customized to allow internationalization on the fly within the application as well as the ability to edit language context without having to recompile the Flex application. The Sample Flex Viewer project was modified so that it re-reads the configuration files based on the language chosen by the user via the LocaleSwitchWidget or by providing a locale argument in the url (i.e. index.html?locale=fr_FR). Please see “Locale README.txt” for details.

The power of community, don’t you love that?

Leave a Comment

If you would like to make a comment, please fill out the form below.


Name

Email

Website

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Comments

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word


Related Posts

2 Comments so far
  1. mingkof  July 11, 2009 6:34 pm

    I want lean

  2. mingkof  July 11, 2009 6:37 pm

    i want to test!

<
Tnx.net