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

learn more… | top users | synonyms

0
votes
0answers
593 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
1answer
561 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 ...
3
votes
2answers
1k 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 ...
3
votes
1answer
849 views

Consuming an asynchronous Geoprocessing service in ESRI's Flex API

I have been trying to consuming my own asyncronous Geoprocessing service using ESRI's FLEX api, but i am either doing something dumb, or there is some trick involved in getting the results out. Since ...
2
votes
3answers
911 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" ...
3
votes
1answer
833 views

Workaround for Raster data input in ArcGIS Server Geoprocessing Service

UPDATE I have accomplished the Python script, but only tested in desktop environment, i.e. ArcMap. #Import ArcPy site package module import arcpy from arcpy import env from arcpy import Extent from ...
2
votes
1answer
161 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
3answers
1k views

How to create Esri Flex Geometry from WKT

I am working with Esri flex 2.3 API, I am also using Abode BlazeDS for server side binding. I am sending a geometry as WKT from server into my flex client and I am looking for a way to convert the ...
3
votes
1answer
411 views

Disaggregating multiring polygon for editing, then recombining

BUMP? We have many rows of multi-ring polygons, displayed on a Flex front end. We need to be able to select a polygon (a row), split the rings for editing, edit them, then combine into one polygon ...
1
vote
1answer
283 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
419 views

Changing the selection color in the flexviewer 2.4?

I am under the impression that by changing the 4th color (in this case 0x000000) will change the Selection color. However, when I go use the search tool, my results are still displayed in the old ...
4
votes
2answers
414 views

google earth profile used in mashup or flex

I really like the way google earth profile works, 1. mouse over line, right click, select profile 2. slide the mouse over the created 3d profile an dsee where that is on the map. Has anyone an idea ...
0
votes
0answers
638 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 ...
2
votes
0answers
129 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 ...
1
vote
0answers
201 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 ...
0
votes
1answer
394 views

Help required with size of the symbol

I am adding a picture marker symbol to graphic layer like this in Map click event: const mapPoint:MapPoint = map.toMapFromStage(event.stageX, event.stageY); mapPoint.spatialReference = ...
1
vote
0answers
317 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 ...
3
votes
1answer
165 views

How to use 931 GP service with v10 Map Services?

Pinched the code from this profiler sample. Having some trouble setting it up with my custom Esri Flex application. My Flex application is using the Web Mercator Aux Sphere WKID and is using v10 map ...
1
vote
0answers
467 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
1answer
425 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 ...
8
votes
2answers
2k views

What are the pros and cons of using the ArcGIS Viewer for Flex vs. creating your own GIS application vs creating your own framework?

Simple question, but perhaps hard to answer. I have broken the title question into three distinct questions in order to clearly identify what we are considering for options each time we build an GIS ...
1
vote
2answers
489 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 ...
3
votes
1answer
326 views

How to check if layer is time enabled?

I want to be able to loop through the layers in my map, and return the names of layers that are time-enabled. I understand that I will need to check TimeInfo and this could be enabled on a dynamic, ...
1
vote
0answers
146 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?
0
votes
0answers
197 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 ...
2
votes
1answer
347 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 ...
1
vote
2answers
415 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?
2
votes
3answers
333 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
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
0answers
454 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 ...
0
votes
1answer
251 views

Locate Widget for flexviewer 2.3.1

I want to exclude addresses to the state of Oregon. Pre 2.3.1 code was <listfield>State</listfield> <listvalues>OR</listvalues> for 2.3.1 ESRI says to use ...
3
votes
1answer
518 views

Is it possible to find the Map Services URLs used in ArcGIS Flex or Silverlight web applications?

With the ArcGIS Server JavaScript API, you can find the URLs in the map services in the source code. Do the Flex and Silverlight APIs completely obfuscate the map services URLs? As an example, the ...
3
votes
1answer
294 views

Different data formats for the same graphic in Flex application

I have two ways to display an InfoWindow with the attributes of a graphic. The first is using a IdentifyTask to return the graphic and the other gets the selectedItem of a Datagrid (rovGrid) and using ...
7
votes
2answers
491 views

How “complex” should a JavaScript map become? When does a plugin make more sense?

Background: A client is looking to upgrade an ancient ArcIMS site, which is quite complex. It has a table of contents, the ability to change symbology on-the-fly, print the map, use spatial ...
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
455 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
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.
6
votes
3answers
3k views

Making Table data available to a map service

I am trying to make a non geographic table available to a map service. I thought you simply added the table to the MXD and publish it with a relate to the field they were linked and then publish the ...
3
votes
2answers
785 views

Measure the Length of a Line on a Map after a MOUSE_MOVE Event

One of the actions a user can perform using the ESRI Flex Viewer application is to draw a shape on a map (e.g. a line). Once the user is finished drawing the line, they will double-click the mouse ...
2
votes
2answers
2k views

Loading Shape file in flexviewer 2.2

I want to load Shape file in Flexviewer 2.2 Any sample would help a lot. Thanks
2
votes
2answers
520 views

Composite Symbol in FlexViewer 2.2

I have two questions regarding picture marker symbol in flex viewer: How can I make a composite symbol so that users can re-size and drag it. Any example code could help a lot. I have three symbols ...
0
votes
1answer
974 views

How to exclude the “More” tab where your operational layers are stored in the Flexviewer 2.2

I am using Robert's awesome TOC widget. I want to exclude the "more" tab where your operational layers show up, because they are listed in the TOC widget. Can I do this in the config.xml?
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??? ...
4
votes
3answers
2k views

Arcgis server not showing map service

I have a map service enabled in my server and have kml and wms as well as mapping and feature access capabilities turned on. I can view the wms in qgis, I can veiw the kml in google earth. However ...
3
votes
2answers
904 views

Setting the map projection in the flex API to an overlay layer

I'd like to use a basemap containing world map data as a backdrop to some point and outline data that I'm hosting in ArcGIS server in the ESRI Flex API, but I would like the map control to share a ...
4
votes
1answer
543 views

How do I find the resolution of a scale range from the Arcgis Server REST services?

What's the best way to determine a LOD's resolution from the esri REST API? Currently, I make a request for a specific extent to the server from the flex api, and from that I divide the width of the ...