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

learn more… | top users | synonyms

1
vote
1answer
81 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 ...
0
votes
0answers
8 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
35 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
14 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 ...
0
votes
1answer
80 views

can TemplatePickers be added dynamically arcGIS flex API?

i need to change a static set of TemplatePickers to be dynamic (set of feature layers will be dynamic going forward). they were stored in an Accordion & while i can dynamically add ...
4
votes
1answer
129 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 ...
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
691 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
35 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
9 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
14 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
14 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
38 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
96 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
45 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
62 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
352 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
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 ...
1
vote
2answers
708 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
128 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
140 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)?
1
vote
1answer
410 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
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 ...
1
vote
1answer
122 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
131 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
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 ...
1
vote
1answer
520 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 ...
0
votes
0answers
22 views

Is it possible to get the associated graphic in a custom Symbol class?

I'm developing a custom symbol class that inherits from SimpleMarkerSymbol. I'd like to be able to access the associated graphic to the symbol in my custom class. In the draw method, I have access ...
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 ...
1
vote
1answer
174 views

Why do objects disappear when I zoom on a dynamic map service? [closed]

I have a dynamic web map service that contains some point objects. When I zoom in and out, some of the point object disappear and reappear randomly. The map service is dynamic, no cache has been ...
2
votes
1answer
89 views

Is it possible to set the color of a symbol from an attribute of the graphic?

I have a feature layer used in a client flex application. The feature layer is used to publish a feature class that has many attributes. Among those attributes there is one named "color". As its name ...
0
votes
0answers
97 views

Flex API: fit legend into a fixed frame using print widget and custom templates

does anyone have experience with trying to fit the legend of the WebAPI into a fixed frame when exporting the map to a pdf? I am using a custom template to export my map and I just cannot get the ...
0
votes
0answers
66 views

Flex API: is it possible to fit the legend into a fixed frame using print widget and custom templates

does anyone have experience with trying to fit the legend of the WebAPI into a fixed frame when exporting the map to a pdf? I am using a custom template to export my map and I just cannot get the ...
1
vote
1answer
66 views

unable to find “attribute” field in “ClassBreaksRenderer ” class

I am trying to run Map ServerLayer sample given on arcgis resource center.When I pasted the code in my FlashBuilder 4.6 then it is showing error on this line <esri:ClassBreaksRenderer ...
0
votes
1answer
147 views

How to create a Custom editor application using ArcGIS API for Flex?

I have seen demo of esri editor and then run in my flash builder as well.It is working well.Now I have a question that Is it possible to create my own editor?ORIf I want to place my own/desired ...
0
votes
0answers
56 views

How to activate drawTool and start drawing with only one mousedown event?

I'm trying to draw a rectangle on the map using the DrawTool component. I want to start drawing directly after performing a Ctrl + MouseDown. So in the map_mouseDownHandler function I put the ...
2
votes
0answers
175 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 ...
1
vote
0answers
170 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 ...
0
votes
0answers
90 views

PortalBaseMapAppender:could not connect to portal

I am new to Flex and ArcGIS. I have downloaded arcgis Viewer Flex src and imported it in FlashBuilder. I have added lib (swc) file and code got fine. Now when I run the code, it displays the viewer ...
1
vote
0answers
111 views

ARCGIS Integration with Adobe flex Builder

we have values ZONE,STREET,PLOT,PIN and ARCGIS MAP Server on plot Layers 67 , 68 , 69. our Business logic as below. Get Electricity or Water No from customer Query Electricity or Water No from ...
0
votes
0answers
77 views

Does the ArcGIS Flex API simplify polygons by default?

I have a feature access map service that I use on an ArcGIS Flex web application. Some polygons published by the feature service, seem to be "simplified" by the Flex API before they are drawn on the ...
0
votes
1answer
191 views

Is it possible to change dynamically the map spatial reference?

I have a map that uses ArcGIS Online in the small scales. So my map needs to be in Web Mercator in small scales. In the big scales, my web client Flex application uses some feature and map services to ...
2
votes
1answer
81 views

Do FeatureLayers reproject their features to adapt them to the map projection?

I'm working with the ArcGIS Flex API. For example, ArcGISDynamicMapLayers do reproject their data in order to make it in the same projection as the map. Do FeatureLayers have the same behaviour?
1
vote
0answers
100 views

Why can ArcGISDynamicMapServiceLayer read a cache service?

I received a cache folder created from a MXD that I don't possess. Then I was asked to publish that cache as a map service. To do that, I created a map service using a MXD (I created) that contains ...
0
votes
1answer
305 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 ...
3
votes
1answer
394 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
0
votes
0answers
169 views

Grid & Magnetic Bearing in Flex Viewer 2

I want to allow users to draw line by using Flex Viewer 2 drawing widget, As a result I want to have magnetic and grid bearing. Any help would be appreciated. Thanks.
1
vote
0answers
868 views

How to group distinct layers together in ESRI Flex app?

I'm wondering if anybody has idea for how to best group distinct layers -- even layers of differing types like DynamicLayer, WFSLayer, etc. The goal in mind is that they could be visually represented ...
0
votes
0answers
50 views

Help required in grouping composite symbols in ESRI Flex Viewer

I want to group multiple composite symbols so that I can move them as one unit on map. Is there any container to hold multiple composite symbols? As Composite Symbol is Array of other symbols, I want ...
0
votes
1answer
97 views

How do I essentially crop an ArcGISTileMapServiceLayer as an object while maintaining the integrity of the basemap

I am using the up-to-date flex api and esri api for flex. I know how to use flex to obtain a snapshot of a map, but ultimately what I want to do is retrieve a scaled up image of a part of the basemap. ...