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

learn more… | top users | synonyms

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
1answer
366 views

FlexViewer 2.1 - Add scroll for widgetgroup

I have a site that is using the ArcGIS Viewer for Flex version 2.1. In the header I have a widget group that contains 25 items. The list is so long that it goes beyond the bottom of the browser ...
2
votes
0answers
469 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 ...
2
votes
2answers
1k views

Using Flex to display single rasters from raster catalog in ArcSDE/ArcGIS server

One of the front end develoeprs here is having issues displaying, or working out how to display a single raster held in a raster catalog in ArcSDE using the Flex 2.2 API the Raster Catalog holds ...
1
vote
3answers
143 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
2answers
500 views

KML and Spot and Swipe widget in flexviewer 2.2

I found the KML widget for Flex viewer but I was not able to make it work properly. Can anybody have any link for that. I came across SPOT and SWIPE tool code, but the links to download the code ...
1
vote
2answers
430 views

Replacing header in Flexviewer

Will the index.html swf need to be re-compiled in order to embed the flexviewer app in between a html header and footer wrapper? Or it this perhaps handled in the HeaderControllerWidget.mxml?
1
vote
3answers
3k views

ArcGIS Viewer for Flex - adding operational layers

I am new to Flex Viewer and am currently trying to view my Map Service that comes from remote Arc GIS Server over the Internet. All parameters in the config.xml file are set up as default (I made no ...
1
vote
3answers
462 views

Changing the search widget link icon

I want to change the pre-defined red arrow link icon in the search widget to another icon: Where would I do this? It looks like the widget is drawing from the InfoPopupWidget.swf?
1
vote
2answers
769 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
2answers
1k views

How can I add menus to Flex Viewer 2?

I have a lot of widgets and my dashboard in Flex Viewer 2 has gotten cluttered. How can I add menus to the dashboard rather than buttons to organize the widgets? Any help will be appreciated.
1
vote
2answers
1k views

How do you create Map Tips with Flex?

I'd like to have Map Tips display when a user hovers over or clicks on a feature in my Flex Application. Would I do this in the authoring stage or is there code I write into my Flex application??? ...
1
vote
1answer
81 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
112 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 ...
1
vote
1answer
531 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 ...
1
vote
1answer
152 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
162 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 ...
1
vote
1answer
534 views

Difference between DynamicMapServiceLayer and TiledMapServiceLayer

I'm a bit of a noob to Esri still so I have a few questions regarding these two types: What is the difference between DynamicMapServiceLayers and TiledMapServiceLayers? Do separate services need to ...
1
vote
1answer
364 views

Using the Flexviewer 2.4 I want to toggle layers from one service on/off

I have 2 layers in one service. If the user clicks one on, I want the other one to turn off, and vice versa. I am using the default flexviewer LayerListWidget.mxml and assume this is the place where ...
1
vote
1answer
45 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 ...
1
vote
1answer
51 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
1answer
113 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
1answer
94 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 ...
1
vote
1answer
105 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 ...
1
vote
1answer
348 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 ...
1
vote
1answer
161 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 ...
1
vote
1answer
227 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
145 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
1answer
142 views

Modifying the LocateWidget.mxml Locate and Clear functions

I am using Robert's compiled TOC widget and attempting to modify the LocateWidget.mxml for the flexviewer. The workflow I have in mind is that user performs an address search clicks the locate button ...
1
vote
1answer
301 views

ArcGIS Flex API: Loop thru map graphics and make them visible

Using the flex viewer 2.4 and Flex 4.5 SDK. I have a bunch of map graphics stored in a map layer. Initially, each graphic is set to visible = false. At the click of a button, I want to loop over each ...
1
vote
1answer
443 views

Passing GPString value via Flex

In this example from the ArcGIS for Flex samples page: Clip and Ship I am curious how from this function how the label property of each check box that is passed as input for the Layers_to_Clip ...
1
vote
1answer
610 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 ...
1
vote
2answers
303 views

Can REST or the ArcGIS API for Flex read VAT tables from a Raster?

When publishing a bare earth DEM that has a VAT table, or value attribute table "A VAT is a table containing attributes for a grid, including user-defined attributes, the values assigned to cells in ...
1
vote
1answer
27 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
0answers
19 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
1answer
41 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
15 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
102 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
22 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
90 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
122 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
58 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
2answers
319 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 ...
1
vote
0answers
193 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
104 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
144 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
130 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
219 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
170 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
212 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(); ...