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

learn more… | top users | synonyms

2
votes
0answers
131 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
1answer
438 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 ...
1
vote
0answers
203 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
408 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 = ...
3
votes
1answer
430 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 ...
0
votes
0answers
608 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); ...
1
vote
0answers
322 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 ...
0
votes
1answer
188 views

Limit Geocode results based on application extent?

I am creating an Esri Flex API application (not the viewer), and have been creating a tool to use the World Places Locator. For now, I am just zooming to the top scoring candidate returned. If you ...
2
votes
1answer
169 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 ...
3
votes
1answer
167 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
478 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
432 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 ...
3
votes
1answer
328 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, ...
3
votes
1answer
245 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 ...
1
vote
0answers
148 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
199 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
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
363 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
424 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
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 ...
2
votes
3answers
337 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 ...
3
votes
6answers
361 views

Drive Times issue with Rendering Graphics

I am trying to consume the Esri Drive times geoprocessing service within a Flex application, based around the v2.2 Flex API. I have seen the sample on how to do this. - However, mine is a bit more ...
2
votes
0answers
461 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
252 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 ...
1
vote
1answer
592 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 ...
3
votes
1answer
539 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
297 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
2answers
299 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 ...
7
votes
2answers
492 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
460 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?
6
votes
3answers
4k 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 ...
2
votes
3answers
807 views

Displaying operational layers in the overview map

Does anyone have the code to display an operational layer within the overview map?
3
votes
2answers
821 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 ...
1
vote
2answers
498 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 ...
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
0
votes
1answer
995 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
757 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 ...
2
votes
2answers
526 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 ...
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.
0
votes
0answers
171 views

Grid & Magnetic Bearing in Flex Viewer 2

I want to allow users to draw line by using Flex Viewer 2 drawing widget, As a result I want to have magnetic and grid bearing. Any help would be appreciated. Thanks.
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??? ...
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 ...
3
votes
2answers
918 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 ...
1
vote
0answers
989 views

How to group distinct layers together in ESRI Flex app?

I'm wondering if anybody has idea for how to best group distinct layers -- even layers of differing types like DynamicLayer, WFSLayer, etc. The goal in mind is that they could be visually represented ...
4
votes
1answer
552 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 ...
23
votes
6answers
4k views

ArcGIS Web APIs: What are the differences?

Esri currently offers 3 different web API's that can be freely downloaded. Are they all equal? If not, what are the relative strengths/weaknesses of each of these API's?
4
votes
2answers
416 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 ...
3
votes
1answer
867 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 ...