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

learn more… | top users | synonyms

1
vote
1answer
98 views

list all authorized services for a given user in ArcGIS 10.1 API FLEX

I'm trying to get the list of all authorized services for a given user in ArcGIS 10.1 API for FLEX. I can't find a way to automatically list all of the services granted to my account. I can fix the ...
5
votes
2answers
221 views

Web_Map_as_JSON from latest esri jsapi?

I'm trying to do a print export using arcgis 10.1 and latest esri jsapi. Is there any out of the box way that I can extract out Web_Map_as_JSON from a given webmap? esri.tasks.PrintTask generates a ...
0
votes
1answer
25 views

How to format an attribute of type esriFieldTypeDate from a FeatureSet Graphic

Hoping someone can tell me if I'm going about this wrong, but I'm executing a QueryTask / Query on a map service and getting back a FeatureSet as expected. Within the attributes of each Graphic, I ...
1
vote
0answers
35 views

Avoiding ArcGIS API for Flex TypeError: Error #1034: Type Coercion failed: cannot convert?

I am new to Flex, and Flash builder, I followed the tutorial in this link: https://developers.arcgis.com/flex/guide/tutorial-query-your-data.htm to write a mobile mapping application that includes a ...
1
vote
1answer
31 views

Has anybody successfully added NFHL (National Flood Hazard Layer) to ArcGIS for flex?

I keep getting the following error when I add the map service to my application: apServer layer failed to load: Fault code: Channel.Security.Error Fault info: Security error accessing url Fault ...
1
vote
0answers
12 views

Adobe Flex layer is not displayed, but can zoom to it

I am using Adobe Flex to develop a widget to allow the user to turn on/off 2 layers separately. The strange thing is only 1 layer can be displayed on the map when the layer is turned on, the other ...
2
votes
1answer
43 views

Using REPLACE function in ArcGIS Server Query - Is it supported?

I'm working on a Flex application for a client that will be the replacement for a legacy application they have that was written in .net/adf. In their current code base, they are using an ADF query ...
1
vote
0answers
11 views

Restrict the scale of the search widget in ArcGIS Flex API

I wonder if I could restrict the scale scope only for the searching widget (and not the extent of the map)? We want to narrow down the scale for searching in order to avoid too many results which may ...
0
votes
0answers
13 views

arcgis flex widget close a window and open another window with datagrid

I uses Arcgis api for flex 3.6 and adobe flash builder 4.6. I want to develop a widget use a window (say window 1) to allow user to input searching criteria, after click "Ok", window 1 should close ...
1
vote
0answers
11 views

arcgis flex api turn on/off group layers

I just started using ArcGIS API for Flex. In my case I need to provide a widget to turn on and off several layers together, which means these layers need to be turned on together or turned off ...
1
vote
1answer
38 views

arcgis api for flex create customise widget

I want to create customise widget using arcgis api for flex (in adobe flash builder). I surfed internet and all the samples I found of widgets use arcgis viewer for flex. Has anybody has the ...
1
vote
1answer
30 views

Map does not appear after following ESRI example of flex api

I followed the example from ArcGIS resource center website: https://developers.arcgis.com/flex/ to create a map, unfortunately after I run the flex builder application, the map does not appear. The ...
0
votes
0answers
16 views

can widget developed by ArcGIS API for flex as an add-in?

I am currently involved in a project needs me to develop a widget using ArcGIS API for flex. It will be integrated to an existing web application. I am confused now because I haven't touch the ...
1
vote
0answers
63 views

How to Legally Use Google Imagery and Maps in ArcGIS Desktop and Web Applications?

With companies like Arc2Earth and Spatial Energy offering solutions to view Google imagery and maps inside ArcGIS for Desktop, there is clearly a legal way to develop a similar product yourself. My ...
0
votes
0answers
42 views

Drag and drop the chart widget to new browser window in flex viewer

I am trying to drag and drop the chart widget to new browser window. I have using DragManager to drag and drop the chart widget. But I does not drag the chart widget to another browser window. How can ...
0
votes
0answers
36 views

ArcGis Flex Viewer Helloworld widget doesn't display

I'm trying to create a new widget, but it doesn't show. If I comment out the other widgets in the widgetcontainer in the config.xml file, they don't go away. I don't understand why the changes I ...
0
votes
0answers
20 views

How to prevent symbol displacement when loading graphics on ArcGISDynamicMapServiceLayer?

I have a map with a ArcGISDynamicMapServiceLayer. In response to the user click on a button, some features are loaded on a GraphicsLayer. The GraphicsLayer renderer is set by ...
0
votes
0answers
55 views

Use chart widget with selected item in search widget in arcgis viewer for flex

Am a newbe with flex api for arcgis. I started with arcgis viewer for flex (uncompiled source) and I added the search widget, what I want to do is to have multiple selection with graphic search( ...
0
votes
0answers
44 views

Communication between widgets (flex)

Default Communication between widgets hi, i'm new in flex, and im working on Webmapping application using flex 4.6, java, and sql server as database, i'm just trying to make a communication between ...
1
vote
1answer
498 views

Filtering a Feature Class in using ArcGISDynamicMapServiceLayer

I'm using the following code in Flex to display all the features in a Feature Class defined in the "Data Layer". var dataLayer:ArcGISDynamicMapServiceLayer= map.getLayer("Data Layers") as ...
0
votes
0answers
44 views

Truncate operation not working in ModelBuilder?

I'm having trouble with a model that is supposed to truncate data from the attribute table of a feature class (which is in a file geodatabase not ArcSDE) and then append it with new data. The ...
0
votes
0answers
22 views

Is there any way to display a small map in a window usinf ArcGIS API for Flex?

I have a dialog box, in which I display a list of locations (points) in a data grid. I'd like to add a small map inside of the dialog box to display the locations, which are selected in the data grid. ...
0
votes
1answer
43 views

Using Flex what event is fired when loading the popup defined in my layer tag?

Here is my Config.xml ...snip... <layer label="Pop-up (turn on/off)" type="dynamic" visible="true" alpha="0.8" url="xxx.xxx.xxx"> <sublayer id="0" ...
1
vote
1answer
46 views

How can I find points inside a polygon in ArcGIS server?

I have a feature class of points. My client wants to draw a polygon on the map to select the subset of points inside the drawn polygon. Is there any tools in ArcGIS API, which I can use it for this ...
1
vote
0answers
100 views

Get ESRI JSON response locally from Arc document?

I'm trying to use the ArcGIS Flex SDK for a mobile app that will sometimes be used in environments with no connectivity. I've figured out that layers can be brought in locally by saving the JSON ...
0
votes
0answers
37 views

How to get the result of a geometry service relation method?

I'm using ArcGIS 10.0 flex API 3.0. I'd like to test if two geometries are equal. For that, the relation method is called like follows: var relationParameters:RelationParameters = new ...
0
votes
1answer
58 views

Arcgis rest server date bug - One day earlier - Flex

I am having that arcgis rest server bug where the attribute table and the attribute inspector show the dates as one day earlier. I found a possible solution on the web but there is an error in the ...
0
votes
0answers
44 views

Attribute Table does not honor subtypes - Flex

The domain has 8 coded values. I added a subtype so it would filter by subtype. The attribute inspector honors the subtypes. As you can see on the pictures, the subtype "Forestry" has two coded domain ...
0
votes
0answers
40 views

ApplyEdits in a loop not working as expected in argis flex API version 3.6

I have what is hopefully a simple question about the applyEdits method for editing a featureLayer in the ArcGIS API for flex version 3.6. I have an array of data derived from a csv file that is ...
0
votes
0answers
22 views

Is there a way to compare geometries clientside in ArcGIS Flex API?

I'd like to know if the geometries of two different graphics are exactly the same. I'd like to do that client side without using a geometry service. Is that possible?
1
vote
1answer
93 views

How to Migrate web maps from ArcGIS Flex to JavaScript API?

A client has several web maps that were made using ArcGIS Flex. But the client needs all the current web maps to be changed to ArcGIS JavaScript API. What steps need to be taken to make this happen ...
0
votes
1answer
22 views

How to handle simultaneous ArcGIS flex API GeometryService calls?

In the code below, when responses come back from the server for the b and c calls, I have the impression that the resposes are randomly given to b and c. The geometry service doesn't know which object ...
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
2answers
756 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?
1
vote
0answers
52 views

How to change language direction from left to right in arcgis viewer for flex in layer list widget?

I have created my web map app using ArcGIS Viewer for Flex and want to change the direction of layer names in the layer list to the Arabic language direction (i.e. right to left; as below)
0
votes
0answers
22 views

Make Fields Required in the Relationship Inspector - Flex

I need to make some fields required in the attribute inspector of my relationship inspector. The code I use works with the editor attribute inspector but not with the relationship inspector attribute ...
0
votes
0answers
83 views

Secured ArcGIS Server map service gives 2048 error in FLEX application

I have a FLEX app up and running on a web server. It is accessible externally from the internet and runs perfectly fine if the services in the app are not secured in ArcGIS Server. So the crossdomain ...
1
vote
2answers
254 views

Enable dynamic layer with Arcgis 10

I'm creating a flexviewer application (arcgis API for flex 3.4) with application builder. I'm new with flexviewer. I want to add thematic widget. I was able to add the widget. But when I want to run ...
0
votes
0answers
64 views

Integer data type error with layer query and AMF format (ArcGIS Server 10.1)

I'm having an issue with ArcGIS Server 10.11 where large integers are coming back wrong when f=amf. When doing a query using f=json, the response is: Nom = Parc National de la Maiko MgC = ...
1
vote
1answer
97 views

flex, network analyst, closest facility

I am trying to build a network analyst in flex, with the closest facility. A problem has occurred during the process of solving closest route to find the incident. In ArcGIS for Desktop, there is ...
3
votes
6answers
359 views

Drive Times issue with Rendering Graphics

I am trying to consume the Esri Drive times geoprocessing service within a Flex application, based around the v2.2 Flex API. I have seen the sample on how to do this. - However, mine is a bit more ...
0
votes
1answer
184 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 ...
1
vote
2answers
753 views

Workflow for importing a flexviewer website into Flashbuilder 4

I have websites built using the flexviewer, but would like to import them into Flashbuilder 4 in order to enhance them. Is there a way to do this by importing the .xml or config.xml from the compiled ...
1
vote
0answers
172 views

Esri ArcGIS server: Errors rendering annotation features

We have a ArcGIS Server 10 site based in Map Services that has some annotation feature classes. Most of the time the annotation text displays correctly. However, sometimes the rendering of annotation ...
0
votes
2answers
218 views

How to get the a FeatureLayer full extent?

Is there a way to get the extent of a FeatureLayer (with all its features, not only the ones on the map)?
0
votes
2answers
480 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 ...
1
vote
1answer
149 views

ArcGIS GeoRSS widget source code not recognizing com.esri.ags.portal package import

For some reason while attempting to import the com.esri.ags.portal.*, despite having the library imported in flex builder, it keeps on giving the error "import cannot be found." The strange thing is ...
0
votes
1answer
189 views

How to publish raster data in Arcgis Viewer for Flex?

I'm new to ArcGIS for Server and I would like to publish several raster layers (land surface temperature, NDVI etc.). I have uploaded raster to server, but I cannot add it to my ArcGIS viewer for ...
1
vote
0answers
182 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 ...
1
vote
1answer
584 views

When creating annotation from labels is it possible to feature-link another annotation layer?

I have an annotation layer that is currently being used in the flex viewer and I would like to add a secondary annotation layer/line so that it sits directly underneath the first. I am able to link ...