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

learn more… | top users | synonyms

0
votes
0answers
11 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
10 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
38 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 ...
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
18 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
1answer
17 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
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
39 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
105 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 = ...
4
votes
1answer
130 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 ...
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 ...
1
vote
0answers
129 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
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 ...
0
votes
2answers
146 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
1answer
133 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 ...
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 ...
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 ...
0
votes
1answer
158 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 ...
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
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 ...
0
votes
0answers
92 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
1answer
82 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
80 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 ...
1
vote
1answer
176 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 ...
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
101 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
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. ...
0
votes
1answer
124 views

Flex Map component, update extent on resize

I have application with Flex Map component. Application has several states, and map component's size is changed depending on states. When state is changed, I need to change extent. But for some ...
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 ...
2
votes
2answers
2k views

How to set minimum and maximum scale?

I have several layers on my map. I need to set minimum and maximum scale level to prevent zooming. What's the best way of implementing it? Thanks
1
vote
3answers
105 views

How can I send a parameter with a RouteTask and get it back in RouteResult

I'd like to send a parameter with the Route Task and be able to get that same parameter in the RouteResult object. The goal is to be able to recognize the routes I receive from the server when I ...
1
vote
1answer
412 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 ...
2
votes
2answers
152 views

How can I disable snapping on one feature layer, among many feature layers on the map?

I'm using ArcGIS Flex API 3.1. I'd like to know if it is possible to choose the layer(s) on which I can snap the graphic I'm moving. Currently, when I activate snapping, my graphics are snapped on all ...
2
votes
1answer
206 views

How can I select features by map clicks

I'm developing a flex web application using the ArcGIS flex API 3.1. I have a map with a polyline feature layer. I'd like to be able to select polylines from the map by clicking on the features on ...
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 ...
12
votes
3answers
1k views

What is the future of ArcGIS web development ? Is it JavaScript and HTML5? [closed]

I want to know about the future of ArcGIS web development; is it HTML5? I used to work with ArcObjects and .NET Web ADF so what is the best technology I must follow, especially when I know that ...
1
vote
1answer
134 views

Feature edition errors

I've created a feature editor, of a puntual feature layer, in a flex 3.1 client. The feature layer is served by a feature service in ArcGIS Server 10.0. When I try to update or delete features (I ...
1
vote
1answer
172 views

No route results after calling network analyst service

I have published a network analyst service and I'm trying to use it from the Flex API 3.1. When I use the service in ArcMap or through the rest GUI in a browser, the service returns the right answer. ...
1
vote
1answer
119 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
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 ...
1
vote
0answers
143 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
133 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
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 ...
0
votes
0answers
173 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
381 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 ...