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

learn more… | top users | synonyms

1
vote
1answer
34 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 ...
0
votes
1answer
46 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" ...
2
votes
0answers
215 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 ...
2
votes
0answers
131 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 ...
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
0answers
461 views

Extending Identify widget and connect it with Legend widget

Sorry if its a ver basic question but I am new in Flex, so I'll appreciate your help. I am using latest Flex Identify widget and I have created my own legend widget. What I am trying to do is, when ...
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 ...
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 ...
1
vote
0answers
47 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
0answers
13 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
0answers
66 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 ...
1
vote
0answers
105 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 ...
1
vote
0answers
54 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)
1
vote
0answers
175 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 ...
1
vote
0answers
102 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
0answers
137 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 ...
1
vote
0answers
123 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 ...
1
vote
0answers
211 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
164 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
0answers
201 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
162 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
184 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
0answers
129 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 ...
1
vote
0answers
203 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 ...
1
vote
0answers
322 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 ...
1
vote
0answers
477 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
0answers
148 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?
1
vote
0answers
989 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
15 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 ...
0
votes
0answers
18 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 ...
0
votes
0answers
43 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
41 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
21 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
58 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
47 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 ...
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
24 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
0answers
40 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
0answers
41 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?
0
votes
0answers
50 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
24 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
88 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 ...
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 = ...
0
votes
0answers
80 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
0answers
214 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 ...
0
votes
0answers
653 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 ...
0
votes
0answers
607 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); ...
0
votes
0answers
199 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 ...
0
votes
0answers
171 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.