The ArcGIS API for Flex is a web mapping API for Flex developers.

learn more… | top users | synonyms

2
votes
2answers
178 views

Negative values in Flex app

I have a contractor working for me on a Flex application. He retrieves recordset for a intersect query from the web service published in house. But he is getting some ids as negative random number ...
0
votes
1answer
212 views

How to develop configuration interface for custom widget in ArcGIS Flex Application builder?

I'm trying to know if it's possible to develop a custom configuration interface for custom widgets in ArcGIS Flex Application Builder. The standard widgets have a nice and shiny configuration ...
2
votes
3answers
2k views

Adding WMS and WFS layers from GEOSERVER in arcgis viewer for flex 3.0

I am interested in adding feature layers from geoserver in arcgis viewer for flex config file and consequently display them on the web map.IS that possible? If yes, could someone share how they did ...
2
votes
2answers
693 views

ArcGIS API JavaScript, Flex, and Silverlight updated comparision

Does anyone know of a site, blog, etc. that constantly updates a comparison between the various ArcGIS APIs for each new release of the API?
2
votes
1answer
692 views

Geometryutil, simplify polygon, querytask and query fault error

One of the tools in my app is to draw freehand polygons (counties) to show points (companies) in each county. Everything works great but if the user creates an intersecting polygon then I have a ...
1
vote
1answer
360 views

Difference between DynamicMapServiceLayer and TiledMapServiceLayer

I'm a bit of a noob to Esri still so I have a few questions regarding these two types: What is the difference between DynamicMapServiceLayers and TiledMapServiceLayers? Do separate services need to ...
2
votes
1answer
103 views

Is there an out of the box Flexviewer set up for a Flex Mobile Project?

Question: Is there an out of the box Flexviewer set up for a Flex Mobile Project? Background: I could just create a Flex Mobile AIR Project from one the samples that ESRI supplies, but that would ...
1
vote
0answers
168 views

CompositeSymbol that includes TextSymbols and SimpleFillSymbol does not draw map

Following is the code snippet that does not draw both TextSymbols. private function MapClick(evt:MapMouseEvent):void { var cs:CompositeSymbol = new CompositeSymbol(); ...
1
vote
0answers
137 views

How to create custom fill styles for SimpleFillSymbol with ArcGIS API for Flex?

Does anybody have created custom fill styles for SimpleFillSymbol? I want to create a style that fills the polygon with circles. Any help would be appreciated.
1
vote
0answers
165 views

'Smart' symbology for categorized Point data which is prone to clustering: ArcMap or Flex API?

I'm working on what will become an interactive online map showing things like municipal services and leisure activities in a certain area. They exist as Points, and are categorized as 'police ...
0
votes
1answer
307 views

ArcGIS Viewer for Flex UniqueValueRenderer error

Trying to compile (in 3.0) an ArcGIS Flexviewer widget that was created in v2.4 of the AGS api for flex, and receive a UniqueValueRenderer error as follows. Code is below also. Encountered errors or ...
0
votes
2answers
371 views

How to retrieve metadata from a feature layer in ArcGIS Server 10 using Flex

I need to retrieve the metadata information from a feature layer. I have the web services available and I can run queries to retrieve the feature attributes, but I don't know any method to retrieve ...
3
votes
1answer
395 views

How can I set a layer visible dynamically using Flex Viewer?

I have a set of layers in operationallayers tag in my Flex Code connected to ArcGIS Server 10, and I want to make them visible dynamically in a ComboBox Change Handler. Is it possible? Thank you
3
votes
1answer
588 views

How to create mapping application with user input to dynamically weight/shade map layers

Does anyone know of any examples of web-apps that allow user-input to change variable weights used to calculate symbology? My organization is looking to build a dynamic mapping application and while ...
1
vote
1answer
564 views

Modifying the OverviewMapComponent.mxml

In the flexviewer I want to add text in the overview map that says "overview map." I am not sure what the code would be and assume it would be place in the s:BorderContainer component? <?xml ...
1
vote
0answers
122 views

Please help extending com.esri.ags.symbols.LineSymbol for flex-API

I want to create an extended line symbol so that I had more control over it to draw line and other shapes in it. I can accomplish it by extending it. I was very pleased to see the example to extend ...
2
votes
1answer
180 views

Map Service Update - clearing browser temp files

I'm noticing whenever I make a change to an ArcGIS map service (add layer, remove layer...etc) I always have to clear server cache and my internet browser temp files in order for my flex viewer app to ...
1
vote
1answer
130 views

Modifying the LocateWidget.mxml Locate and Clear functions

I am using Robert's compiled TOC widget and attempting to modify the LocateWidget.mxml for the flexviewer. The workflow I have in mind is that user performs an address search clicks the locate button ...
2
votes
1answer
150 views

Custom JSONDecoder for ID Task Result, ESRI Flex API

The problem: When the ESRI API decodes a response from the identify task, there is a few second lock in the Flash application which is due to the decoding of the results. I have used chunk parsing ...
2
votes
2answers
393 views

Importing ALOHA plume .pas file in ArcGIS Server web API application

I want to import a .pas file (ALOHA plume file) in ArcGIS Server web API application (JavaScript/Silverlight/Flex). Has anyone tried this before? I am looking for some directions to achive the same. ...
0
votes
1answer
512 views

Fields from a selected feature set are missing when gp.submitJob(..)--in Flex— pushes feature set to geoprocessing service (in Python)

I am extending existing query functionality that I have added to the ArcGIS Flex Viewer. I would like to extract the results from a query--which consists of a FeatureSet--into a .gdb. In order to do ...
2
votes
1answer
408 views

ESRI Flex Viewer 2.4 - Changing Widget Title At Runtime

I have an "About" widget which displays information about the current active widget in my Flex Viewer app. I am trying to update the About widget's title accordingly. For example, if 'Super Fancy ...
1
vote
1answer
329 views

Using the Flexviewer 2.4 I want to toggle layers from one service on/off

I have 2 layers in one service. If the user clicks one on, I want the other one to turn off, and vice versa. I am using the default flexviewer LayerListWidget.mxml and assume this is the place where ...
2
votes
1answer
150 views

Modifying the Score text in the Locate Widget of Flexviewer 2.4

I want to add text where it says "score" to make it more clear that this is an address matching score. I am using the LocateWidget_US.xml and do not think I can do it here. I think the place to do ...
3
votes
2answers
1k views

ArcGIS Viewer for Flex - multiple feature services

I have two operational feature service layers in the flex viewer config.xml file, when I try to load both layers I get this error: Office Locations layer failed to load: Fault code: 500 Fault ...
1
vote
1answer
252 views

ArcGIS Flex API: Loop thru map graphics and make them visible

Using the flex viewer 2.4 and Flex 4.5 SDK. I have a bunch of map graphics stored in a map layer. Initially, each graphic is set to visible = false. At the click of a button, I want to loop over each ...
2
votes
3answers
859 views

Do pop-ups really work in Flexviewer 2.4?

I am trying to configure pop-ups using this code: <layer label="Lansdslide Layers" type="dynamic" visible="true" alpha=".75" ...
3
votes
1answer
760 views

Workaround for Raster data input in ArcGIS Server Geoprocessing Service

UPDATE I have accomplished the Python script, but only tested in desktop environment, i.e. ArcMap. #Import ArcPy site package module import arcpy from arcpy import env from arcpy import Extent from ...
0
votes
1answer
366 views

ArcGIS Flex API: Keep info window on top of other widgets?

I am working on a web mapping widget using the ArcGIS flex API and ArcGIS Flex Viewer. I have a infoWindow popup when there is a mouse rollover on a map graphic. Problem: the infoWindow renders ...
0
votes
0answers
583 views

ArcGIS Flex API: cannot addChild to infoWindow

This is driving me nuts. I am developing a Web App using ArcGIS Flex API, Flex SDK 4.5, and Flex Viewer 2.4. I add a bunch of point graphics to the map. Then on rollover I try to add a Flex ...
2
votes
0answers
128 views

Is there a way to programatically trigger popups using the operationallayer config?

I have a widget that queries a group of features, and I'd like to be able to trigger a popup that looks and behaves the same as the one that gets generated when the user clicks on the map. Is there a ...
1
vote
1answer
380 views

Changing the selection color in the flexviewer 2.4?

I am under the impression that by changing the 4th color (in this case 0x000000) will change the Selection color. However, when I go use the search tool, my results are still displayed in the old ...
1
vote
0answers
182 views

Help needed for extended symbol

I am trying to extend Symbol class in ARGIS Flex API. this is my widget named TestWidget http://pastebin.com/04w6RSur and here is the extended symbol class http://pastebin.com/bqhDzdSe named ...
0
votes
1answer
352 views

Help required with size of the symbol

I am adding a picture marker symbol to graphic layer like this in Map click event: const mapPoint:MapPoint = map.toMapFromStage(event.stageX, event.stageY); mapPoint.spatialReference = ...
3
votes
1answer
375 views

Disaggregating multiring polygon for editing, then recombining

BUMP? We have many rows of multi-ring polygons, displayed on a Flex front end. We need to be able to select a polygon (a row), split the rings for editing, edit them, then combine into one polygon ...
0
votes
0answers
485 views

How to draw Sprite on Graphics layer?

I want to draw sprite on Graphics layer like this: var sp:SpriteVisualElement = new SpriteVisualElement(); sp.graphics.beginFill(0x00ff00,1); ...
1
vote
0answers
306 views

Example of RasterData class in ArcGIS for Flex

How would I use the RasterData class in com.esri.tasks.supportClasses for ArcGIS API for Flex? I haven't found any documentation for it outside the API and that doesn't give much info either. Could I ...
0
votes
1answer
161 views

Limit Geocode results based on application extent?

I am creating an Esri Flex API application (not the viewer), and have been creating a tool to use the World Places Locator. For now, I am just zooming to the top scoring candidate returned. If you ...
2
votes
1answer
153 views

How to convert a String variable to a Raster datatype using Calculate Value

I have a GP service I would like to consume in a Flex application, but one of the input data types can be a raster. ArcGIS Server does not support a raster data type as an input parameter, but ...
3
votes
1answer
162 views

How to use 931 GP service with v10 Map Services?

Pinched the code from this profiler sample. Having some trouble setting it up with my custom Esri Flex application. My Flex application is using the Web Mercator Aux Sphere WKID and is using v10 map ...
1
vote
0answers
438 views

How can I draw custom shapes on Graphics layer?

Hello everyone I need help. Any clue, guidance or help that would be appreciated, please bear with me as I am still struggling with Flex 4. What is the simplest way to draw custom shapes using < ...
1
vote
1answer
387 views

Passing GPString value via Flex

In this example from the ArcGIS for Flex samples page: Clip and Ship I am curious how from this function how the label property of each check box that is passed as input for the Layers_to_Clip ...
8
votes
2answers
2k views

What are the pros and cons of using the ArcGIS Viewer for Flex vs. creating your own GIS application vs creating your own framework?

Simple question, but perhaps hard to answer. I have broken the title question into three distinct questions in order to clearly identify what we are considering for options each time we build an GIS ...
3
votes
1answer
315 views

How to check if layer is time enabled?

I want to be able to loop through the layers in my map, and return the names of layers that are time-enabled. I understand that I will need to check TimeInfo and this could be enabled on a dynamic, ...
3
votes
1answer
236 views

ESRI Flex API - Dealing With Graphics Layers in Polar Regions

I have developed a Flex app that incorporates a number of geo-processing functions. The Base Layer of this app is the standard ESRI World Imagery in Web Mercator coordinate space. One of these ...
1
vote
0answers
140 views

How to draw curves in Flex Viewer?

I want to draw curves from a given point to another in Sample Flex Viewer like shown below. Any help?
0
votes
0answers
194 views

How to save a CompositeSymbol in a text file using Flexviewer 2.2?

I am using Flexviewer 2.2 draw widget that allows us to save text or shapes in a text file. I had created a compositeSymbol containing 3 textSymbols instead of a textSymbol, now I want to save it in a ...
2
votes
0answers
2k views

How to zoom exactly to a desired scale in Flex?

I am using ArcGIS API for flex 2.4 with ArcGIS server 10. I am trying to write the widget where user can define the map scale (type it in text box) and it will zoom to that scale. I successfully ...
2
votes
1answer
335 views

FlexViewer 2.1 - Add scroll for widgetgroup

I have a site that is using the ArcGIS Viewer for Flex version 2.1. In the header I have a widget group that contains 25 items. The list is so long that it goes beyond the bottom of the browser ...
1
vote
2answers
388 views

Replacing header in Flexviewer

Will the index.html swf need to be re-compiled in order to embed the flexviewer app in between a html header and footer wrapper? Or it this perhaps handled in the HeaderControllerWidget.mxml?