Quantcast
Channel: Forums - ArcGIS Viewer for Flex
Viewing all 2097 articles
Browse latest View live

Pop Up and Polygons

$
0
0
I am having issues with getting the pop ups to work with a polygon layer. I did not see anything in the help stating that pop ups do not work with polygons. Is there something special I need to do to make them work? or do they not work? Any tips/help/suggestions would be greatly appreciated.
Thanks!

GP Service to Widget Symbolgy

$
0
0
Hello All,

Does anybody know if you can pass symbology that is set in you GP Service to your viewer?

Eric

Upgrade from 3.1 to 3.2

$
0
0
I would like to upgrade from 3.1 to 3.2.
I have a 3.1 application working that includes the enhanced search widget. If I upgrade from 3.1 to 3.2 and select to overwrite the current 3.1 application builder, will this affect my current application in any way?

I don not want to have to recreate the application that I currently have running.

Thanks.

a bug with legendskin in API

$
0
0
I have a dynamic layer in my project. If I change the defaultvisibility by code, got error in legendskin in line 631. The reason is parentLayerId is null, but the condition check is (= -1) Here's the fix

at line 631, the original code is if (layerInfos[i].parentLayerId != -1)

change to if(!( (layerInfos[i].parentLayerId = -1 ) || isNaN(layerInfos[i].parentLayerId) ))

Best,

Xiaowen

Question about checkbox of TOC Widget

$
0
0
I would like to change the checkbox of one layer in the TOC widget to radio button, all the other layers I still need to keep the checkbox. Is there any method I can do this? Thanks!

Locator Widget Configuration

want to have access to Application Builder source code ? pls post and re-post my msg

$
0
0
Hi,

I already had this discussion with ESRI developers in Palm Springs : I really enjoyed to have access to the Flex Viewer and extra components source code, so why don't ESRI open Application Builder source code as well ??

Their answer was : "write this message into the forums and wait for being posted and re-posted several times. Our product manager will notice it and probably change his mind on this topic"

Thanks a lot for your help !
-G

Layer File for Symbology

$
0
0
Hello All,

Does anyone know if you can apply a .lyr file to Output parameter in a xml for display in the viewer?

Eric

Data Extract Widget, V3.1 - Error 2038

$
0
0
All,

I've set up a geoprocessing service and it seems to be up and running as it should. However, every time I run the widget, I am getting a 2038 error. Has anyone else experienced this?

Thanks for your time!

Ashley

e-MapSwitch - How to customize

$
0
0
In the eMapSwitch (http://arcgis.com/home/item.html?id=...dfd3d7e155746b) component, how can the widget be customized as:
1) Select the needed basemaps - I searched but could not find the file to define these basemaps.
2) Make the widget wider but reduced height - I only need 4 basemaps horizentally with the slider below.
Thanks.

TOC checkbox behavior after 3.1

$
0
0
I've noticed that TOC checkboxes behave differently with nested layers in 3.1. It's rather hard to explain but when you see it in action it's very awkward. Say you have a tree structure like this:

A
-B
--C
--D

In 3.0 and earlier you could check or uncheck any layer at any time. Nice and simple.

In 3.1 this behavior has changed. Now a layer can only be checked if one of its sublayers are checked. This forces the user to expand the tree to its lowest level and check backwards. In addition, a parent layer will automatically uncheck when all of its children are unchecked. The top layer however (A) follows the 3.0 behavior and can be toggled at will.

It's extremely awkward and makes navigation difficult. Add more sub-layers and it gets even messier. Please, please bring back the old behavior from 3.0.

MapManager.mxml attribute and syntax errors during release build

$
0
0
I'm receiving the following errors when I try to build out my project.. v.3.2 Flex Viewer. Please let me know what I'm missing..

Code:

See details for more information.
  Encountered errors or warnings while building project TOCWidget.mxml.
    MapManager.mxml: Syntax error: expecting rightparen before function.
    MapManager.mxml: Syntax error: expecting identifier before dot.
    MapManager.mxml: Attribute is invalid.
    MapManager.mxml: Syntax error: expecting identifier before rightparen.
  Encountered errors or warnings while building project WidgetContainer.mxml.
    MapManager.mxml: Syntax error: expecting rightparen before function.
    MapManager.mxml: Syntax error: expecting identifier before dot.
    MapManager.mxml: Attribute is invalid.
    MapManager.mxml: Syntax error: expecting identifier before rightparen.
  Encountered errors or warnings while building project index.mxml.
    MapManager.mxml: Syntax error: expecting rightparen before function.
    MapManager.mxml: Syntax error: expecting identifier before dot.
    MapManager.mxml: Attribute is invalid.
    MapManager.mxml: Syntax error: expecting identifier before rightparen.
  Encountered errors or warnings while building project LayerListWidget.mxml.
    MapManager.mxml: Syntax error: expecting rightparen before function.
    MapManager.mxml: Syntax error: expecting identifier before dot.
    MapManager.mxml: Attribute is invalid.
    MapManager.mxml: Syntax error: expecting identifier before rightparen.
  Encountered errors or warnings while building project exportMap.mxml.
    MapManager.mxml: Syntax error: expecting rightparen before function.
    MapManager.mxml: Syntax error: expecting identifier before dot.
    MapManager.mxml: Attribute is invalid.
    MapManager.mxml: Syntax error: expecting identifier before rightparen.
  Encountered errors or warnings while building project MapSwitcherWidget.mxml.
    MapManager.mxml: Syntax error: expecting rightparen before function.
    MapManager.mxml: Syntax error: expecting identifier before dot.
    MapManager.mxml: Attribute is invalid.
    MapManager.mxml: Syntax error: expecting identifier before rightparen.
  Encountered errors or warnings while building project WidgetContainerWidget.mxml.
    MapManager.mxml: Syntax error: expecting rightparen before function.
    MapManager.mxml: Syntax error: expecting identifier before dot.
    MapManager.mxml: Attribute is invalid.
    MapManager.mxml: Syntax error: expecting identifier before rightparen.
  Encountered errors or warnings while building project HeaderControllerWidget.mxml.
    MapManager.mxml: Syntax error: expecting rightparen before function.
    MapManager.mxml: Syntax error: expecting identifier before dot.
    MapManager.mxml: Attribute is invalid.
    MapManager.mxml: Syntax error: expecting identifier before rightparen.

Thank you,
Alison

Enhanced Search Widget / eSearch Issue

$
0
0
Hello,

I am using ArcGIS 10.1, Flex 3.2, etc.

Ever since I updated my web app from 3.1 to 3.2 using the provided widget (compiled version) my widget seems to be not working correctly.

I have a list of predetermined searchable options. In the past the end-user would click on the items to be search, once all the applicable items have been selected or entered the end-user would click on the search button and then it would produce the results.

However once I updated, the widget automatically searches with any change made to the search criteria regardless if the search button was pushed or not. In other words, if I have a list of 5 unique enteries out of say 10, then the widget automatically starts search after each interaction with the data input fields and drop down menus.

I haven't changed my source code and I still have all my operators in place.

Any ideas?

The web app is located at:

http://rd.giscenter.isu.edu/flexviewers/MCPD_beta_v32/


Thanks,
Haskett

Auto-select Measure unit upon map scale

$
0
0
I want to customize the DrawWidget that at a give map scale, the measure unit in the combobox can be automatically populated. I added the code below in private function activateDrawTool(event:MouseEvent):void {
if(map.scale >= 9600) {
cboDistance.selectedItem.name = getDefaultString('unitsMiles');
cboDistance.selectedItem.abbr = getDefaultString('unitsMilesAbbr');
} else {
cboDistance.selectedItem.name = getDefaultString('unitsFeet');
cboDistance.selectedItem.abbr = getDefaultString('unitsFeetAbbr');
}
But the value displayed in the combolist is not right. what' wrong here? Thanks.

WMTS layer offset. Is it a bug?

$
0
0
I have added the ESRI WorldTimeZones WMTS sample server to the viewer. The layer is shown in the viewer but with an offset of about 900km!
Attachment 23371

The same occurred with a other WMTS services.

Is there still a bug in the WMTS layer? Others have mentioned also problems with WMTS. Could someone of ESRI respond before we all spend time on solving a problem that isn’t ours.

Thanks,
Albert.
Attached Thumbnails
Click image for larger version

Name:	WMTS.jpg‎
Views:	N/A
Size:	111.4 KB
ID:	23371  

MGRS Coordinate Panel for Flex Viewer 3.1

$
0
0
Dear All,

i am using the MGRS Coordinate panel ,when i load the application, but it cannot shows the MGRS,Scale, Easting and northings. can someone help me in this problem

thank you.
Attached Thumbnails
Click image for larger version

Name:	error.jpg‎
Views:	N/A
Size:	6.4 KB
ID:	23372  

Flex Viewer Chart Widget - Share Chart results with Attribute Widget

$
0
0
I am looking for a way to modified the chart widget 3.2 to share the results of a selection so that the selection set is shown in the attribute widget just like the query and search widget does if your you add the tag shareresults to be true. I know that the chart produces a hidden layer, so I can change the code and modify the feature layer name and remove the hiddenLayer_
<esri:FeatureLayer id="highlightFeatureLayer" name="hiddenLayer_chartWidgetSelectionLayer"
this will allow the layer to be added to the attribute table, but I also need a way to get the outfields to show up. Any ideas?

Increase size of Data Layers box in ArcGIS Viewer for Flex ap 2.5

$
0
0
Hello,

Is there a way to increase the size of the data layers box in the 2.5. viewer? Some of my layer names are being cut off at the end.

Thanks Harriet

Query Widget

$
0
0
I have some flex maps I have created, sewer and water. When I made the query widgets for the sewer map, I made them on the type of pipe, i.e. steel, concrete, PVC, etc. When I made the water map, I tried the same queries. For some reason, the PVC pipe can't be queried. I either get an error, or it says there is no results to the query. I tried making another feature class, with a domain assigning PVC as "plastic". I set the query as Material LIKE 'P%', and I still get either the error or no results at all. Am I missing something? This worked beautifully in the sewer map. What am I missing?
Thanks,
Robin

Pop-ups and ArcGIS Online (AGOL) Hosted Mapservices

$
0
0
I have a Flex application where I am using an AGOL hosted mapservice that allows editing of the mapservice on AGOL. I also setup the pop-ups the same way as with mapservices that are hosted on my server. Currently, I can edit the mapservice through the Flex Viewer application by providing AGOL credentials, but the pop-up is not working.

Has anyone encountered this problem with an editable mapservice (feature access enabled) with pop-ups?

Any help or feedback is greatly appreciated.
Viewing all 2097 articles
Browse latest View live