Questions tagged [arcgis-flex-api]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
218 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
0answers
210 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 ...
2
votes
1answer
1k 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 ...
0
votes
0answers
427 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
2answers
965 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 ...
1
vote
0answers
336 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
1answer
155 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 ...
0
votes
1answer
506 views

ArcGIS Flex API: Keep info window on top of other widgets?

I am working on a web mapping widget using the ArcGIS flex API and ArcGIS Flex Viewer. I have a infoWindow popup when there is a mouse rollover on a map graphic. Problem: the infoWindow renders ...
2
votes
1answer
518 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 ...
2
votes
3answers
1k views

Displaying operational layers in the overview map

Does anyone have the code to display an operational layer within the overview map?
1
vote
1answer
427 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
682 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 ...
2
votes
2answers
337 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 ...
2
votes
1answer
226 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 ...
3
votes
1answer
263 views

ESRI Flex API - Dealing With Graphics Layers in Polar Regions

I have developed a Flex app that incorporates a number of geo-processing functions. The Base Layer of this app is the standard ESRI World Imagery in Web Mercator coordinate space. One of these geo-...
0
votes
1answer
727 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 ...
4
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 info: ...
3
votes
1answer
1k 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
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/...
3
votes
1answer
1k 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
282 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
2k 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 ...
1
vote
1answer
364 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
567 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
433 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 ...
2
votes
0answers
143 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
260 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
566 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 = map....
1
vote
0answers
389 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
563 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 < s ...
1
vote
1answer
536 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
588 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 ...
4
votes
1answer
412 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
159 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?
2
votes
1answer
400 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
474 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
419 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 ...
0
votes
1answer
269 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 <fields>...
3
votes
1answer
772 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
323 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 ...
1
vote
3answers
531 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.
7
votes
3answers
6k 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
1k 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 ...
0
votes
1answer
1k 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?
3
votes
2answers
1k 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
670 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 ...