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

learn more… | top users | synonyms

1
vote
1answer
347 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
259 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
131 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
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 ...
0
votes
1answer
142 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
181 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
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 ...
2
votes
2answers
3k 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
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
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 ...
2
votes
2answers
228 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
318 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
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 ...
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
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
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
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
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 ...
2
votes
0answers
236 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
227 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
540 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 ...
0
votes
2answers
642 views

How to build a mobile app from Flex web app

We have a Flex application based on ArcGIS flex API in the final stage of development and ready to move to testing/production. The application uses some map services and a complex GP tool. My boss ...
2
votes
2answers
237 views

Negative values in Flex app

I have a contractor working for me on a Flex application. He retrieves recordset for a intersect query from the web service published in house. But he is getting some ids as negative random number ...
0
votes
1answer
276 views

How to develop configuration interface for custom widget in ArcGIS Flex Application builder?

I'm trying to know if it's possible to develop a custom configuration interface for custom widgets in ArcGIS Flex Application Builder. The standard widgets have a nice and shiny configuration ...
2
votes
3answers
3k views

Adding WMS and WFS layers from GEOSERVER in arcgis viewer for flex 3.0

I am interested in adding feature layers from geoserver in arcgis viewer for flex config file and consequently display them on the web map.IS that possible? If yes, could someone share how they did ...
2
votes
2answers
788 views

ArcGIS API JavaScript, Flex, and Silverlight updated comparision

Does anyone know of a site, blog, etc. that constantly updates a comparison between the various ArcGIS APIs for each new release of the API?
2
votes
1answer
901 views

Geometryutil, simplify polygon, querytask and query fault error

One of the tools in my app is to draw freehand polygons (counties) to show points (companies) in each county. Everything works great but if the user creates an intersecting polygon then I have a ...
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 ...
2
votes
1answer
111 views

Is there an out of the box Flexviewer set up for a Flex Mobile Project?

Question: Is there an out of the box Flexviewer set up for a Flex Mobile Project? Background: I could just create a Flex Mobile AIR Project from one the samples that ESRI supplies, but that would ...
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(); ...
1
vote
0answers
167 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
190 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 ...
0
votes
1answer
364 views

ArcGIS Viewer for Flex UniqueValueRenderer error

Trying to compile (in 3.0) an ArcGIS Flexviewer widget that was created in v2.4 of the AGS api for flex, and receive a UniqueValueRenderer error as follows. Code is below also. Encountered errors or ...
0
votes
2answers
533 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 ...
3
votes
1answer
498 views

How can I set a layer visible dynamically using Flex Viewer?

I have a set of layers in operationallayers tag in my Flex Code connected to ArcGIS Server 10, and I want to make them visible dynamically in a ComboBox Change Handler. Is it possible? Thank you
3
votes
1answer
652 views

How to create mapping application with user input to dynamically weight/shade map layers

Does anyone know of any examples of web-apps that allow user-input to change variable weights used to calculate symbology? My organization is looking to build a dynamic mapping application and while ...
1
vote
1answer
629 views

Modifying the OverviewMapComponent.mxml

In the flexviewer I want to add text in the overview map that says "overview map." I am not sure what the code would be and assume it would be place in the s:BorderContainer component? <?xml ...
1
vote
0answers
131 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 ...
2
votes
1answer
196 views

Map Service Update - clearing browser temp files

I'm noticing whenever I make a change to an ArcGIS map service (add layer, remove layer...etc) I always have to clear server cache and my internet browser temp files in order for my flex viewer app to ...
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 ...
2
votes
1answer
160 views

Custom JSONDecoder for ID Task Result, ESRI Flex API

The problem: When the ESRI API decodes a response from the identify task, there is a few second lock in the Flash application which is due to the decoding of the results. I have used chunk parsing ...
2
votes
2answers
464 views

Importing ALOHA plume .pas file in ArcGIS Server web API application

I want to import a .pas file (ALOHA plume file) in ArcGIS Server web API application (JavaScript/Silverlight/Flex). Has anyone tried this before? I am looking for some directions to achive the same. ...
0
votes
1answer
591 views

Fields from a selected feature set are missing when gp.submitJob(..)--in Flex— pushes feature set to geoprocessing service (in Python)

I am extending existing query functionality that I have added to the ArcGIS Flex Viewer. I would like to extract the results from a query--which consists of a FeatureSet--into a .gdb. In order to do ...
2
votes
1answer
460 views

ESRI Flex Viewer 2.4 - Changing Widget Title At Runtime

I have an "About" widget which displays information about the current active widget in my Flex Viewer app. I am trying to update the About widget's title accordingly. For example, if 'Super Fancy ...
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 ...
2
votes
1answer
165 views

Modifying the Score text in the Locate Widget of Flexviewer 2.4

I want to add text where it says "score" to make it more clear that this is an address matching score. I am using the LocateWidget_US.xml and do not think I can do it here. I think the place to do ...
3
votes
2answers
2k views

ArcGIS Viewer for Flex - multiple feature services

I have two operational feature service layers in the flex viewer config.xml file, when I try to load both layers I get this error: Office Locations layer failed to load: Fault code: 500 Fault ...
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 ...