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

learn more… | top users | synonyms

1
vote
1answer
20 views

How can you identify whether the user has clicked on a circle or a polygon?

I have a user-created graphics layer that might have lines, polygons and circles on it. When the user clicks to edit one of the graphics, I would like to be able to identify whether they have clicked ...
1
vote
1answer
39 views

Create css Flex Module Edition

I would like to change the style of the component Flex Edition . The functionality is what I need but I find too much space it occupies such module for which I would like to make changes to style ...
1
vote
1answer
130 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
118 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" ...
0
votes
1answer
37 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
296 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
139 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
536 views

Extending Identify widget and connect it with Legend widget

Sorry if it's a very basic question but I am new in Flex. I am using latest Flex Identify widget and I have created my own legend widget. What I am trying to do is, when a user select a point using ...
1
vote
0answers
7 views

Client side caching in ArcGIS JSAPI maps

Is it possible to cache a map layer or feature layer on client side (the browser) using ArcGIS JSAPI, if so, can someone provide a link to documentation and/or samples? If not, what other client ...
1
vote
0answers
84 views

Flex Viewer access to layout widgets

How can I get layout widgets objects dynamically? In case of typical widgets it can be achieved by FlexGlobals.topLevelApplication.widgetManager.getWidget() , however i can't find a way to get ...
1
vote
0answers
32 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
25 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
241 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
47 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
290 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
102 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
317 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
125 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
190 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
133 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
280 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
190 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
313 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
244 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 station',...
1
vote
0answers
143 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
242 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
361 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
541 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
153 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
1k 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
31 views

Removing Layers/Features from map

I am creating a custom Layer List Widget and I was trying to remove features (symbols) from the map. Does this have to be done from the mapserver level or client level? I tried getting the map.layers ...
0
votes
0answers
76 views

Flex Viewer event when layer ends loading

I have a widget that adds a WMS layer to my Flex Viewer app. I use proxy. I would know to want which event is fired when layer really ends loading and shows up on map. I tried many, but they dispatch ...
0
votes
0answers
17 views

Intersection of 2 feature class in flex

I have two feature class and the requirement is to intersect both of them in flex. I'm querying on one feature class, getting its geometries. I tried doing union of all the geometries of the layer ...
0
votes
0answers
28 views

How do I make the binoculars invisible when I search by attribute on ArcGIS for Flex

I am preparing a flex map. When I use the search widget, the binoculars cover up the symbol that is being searched. Is there a way I can remove the binocular symbol?
0
votes
0answers
88 views

Managing Multiple PopUps in ArcGIS Flex Web Application

I have multiple popups for layers within a two different service that I am hosting in an application. Is there a way that I can configure the the order in which these popups are displayed? I am ...
0
votes
0answers
95 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
279 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
119 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
364 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
715 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 mx:...
0
votes
0answers
714 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); sp.graphics....
0
votes
0answers
215 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 ...