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

learn more… | top users | synonyms

2
votes
3answers
1k views

Do pop-ups really work in Flexviewer 2.4?

I am trying to configure pop-ups using this code: <layer label="Lansdslide Layers" type="dynamic" visible="true" alpha=".75" url="http://yoururl/ArcGIS/rest/services/Hazards/SR2/...
2
votes
3answers
392 views

Using the excludelayer tag in Flex 2.3.1 with a cached service

I'm working on our first Flex server page using the Flex Viewer 2.3.1. The Legend widget works, but I cannot get the excludelayer tag to work. Here's where the problem probably is - it's a cached map ...
2
votes
3answers
988 views

Displaying operational layers in the overview map

Does anyone have the code to display an operational layer within the overview map?
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 ...
2
votes
1answer
476 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 ...
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
1answer
212 views

How to convert a String variable to a Raster datatype using Calculate Value

I have a GP service I would like to consume in a Flex application, but one of the input data types can be a raster. ArcGIS Server does not support a raster data type as an input parameter, but ...
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
392 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
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
3answers
211 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
565 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
1answer
240 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
2answers
908 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
2answers
468 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
503 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
832 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
166 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
148 views

Opening local *.accdb file through ArcGIS API for Flex button?

I have a web mapping application created with the ArcGIS Viewer for Flex application builder. Is there a way to create a button that will open a local accdb file? I dont want to connect to MS Access ...
1
vote
1answer
698 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
175 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 didn'...
1
vote
1answer
182 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
413 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
36 views

Configuring a Map, then save it and publish?

I'm trying to make a Flex application where there's going to be 2 main users [Administrator,User] The Administrator can add figures to the map, like polygons, or circles to remark the ratio of some ...
1
vote
1answer
105 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
62 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
197 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
130 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 attribute="...
1
vote
1answer
111 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
817 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
196 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
338 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
161 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
152 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
348 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
498 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
910 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
0answers
4 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
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
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
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 ...
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
298 views

How to Legally Use Google Imagery and Maps in ArcGIS Desktop and Web Applications? [duplicate]

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 ...