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

learn more… | top users | synonyms

1
vote
1answer
130 views

How can I migrate from agslib 2.1 to agslib 3.1

I have an application which is developed using agslib 2.1. I want to migrate t to agslib3.1. When I use the new library, There is an error in MapManager.mxml code as "Call to a possibly undefined ...
1
vote
0answers
202 views

Can Elevation Profile data in Arc's Flex Viewer 3.0 be exported?

a related thread here: google earth profile used in mashup or flex Would like to export the elevation profile data (csv, txt, etc.) from Arc's Flex Viewer 3.0 as it creates one: Also, if there is a ...
1
vote
0answers
159 views

ESRI Flex API - Modify Style of Draw Toolbar Tooltips

Can anyone tell me how I can change the styling of the Draw Toolbar's tooltips in the ESRI Flex API? If I use apply the style shown below - ALL of the application's tooltips inherit this style. I ...
1
vote
1answer
150 views

How can I web map service published by Dojo in Flex app

We want to include a base map layer in hosted Flex app. We requested web map service from the vendor and I got a file (.htm) from client with some dojo code. I can understand the code but I am not ...
2
votes
0answers
200 views

How to login arcgis secure service in Flex using 2.5 version?

I know, that I can use IdentityManager class to show login+password form for secured services. But it's available in version 3.0, and I'm using 2.5. How can I provide access for secured service in my ...
0
votes
0answers
192 views

Flex Identify tool version 3 1085 error

I am building a flex web map app. I am using the Identify tool version 3, here. Below is the syntax I am using, based on the PDF help file. It, however, gives a 1085 error. Does anyone know if I am ...
2
votes
1answer
433 views

Autocomplete against geocode.arcgis.com?

I have built a tool that allows my users to perform geocode requests against the World Geocoding Service provided from Esri. I would like to extend my tool to have an autocomplete feature, similar to ...
0
votes
2answers
574 views

How to build a mobile app from Flex web app

We have a Flex application based on ArcGIS flex API in the final stage of development and ready to move to testing/production. The application uses some map services and a complex GP tool. My boss ...
2
votes
2answers
200 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
240 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
728 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
754 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
428 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
106 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
189 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
150 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
174 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
327 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
448 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
451 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
623 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
593 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
126 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
186 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
135 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
153 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
426 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
555 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
434 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
349 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
153 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
275 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
903 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
823 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
397 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
629 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
129 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
415 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
197 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
386 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
408 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
580 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
316 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
174 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
161 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
164 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
460 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
417 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 ...