|
POST
|
Leon, Because you are using the TOC in a custom component, I am not sure when you are calling the expandTOC function, but it must be getting called to soon.
... View more
06-28-2010
08:22 AM
|
0
|
0
|
1535
|
|
POST
|
Darryl, I think the effect that you are after is better handled by adding top ="100" to the WidgetManagerDocked.mxml in the very top (first) canvas element and change back all of your other changes to the WidgetTemplate.
... View more
06-28-2010
07:59 AM
|
0
|
0
|
1907
|
|
POST
|
Darryl, The email notifications are not working yet so you have to check the forums manually to watch for responses.
... View more
06-28-2010
07:30 AM
|
0
|
0
|
879
|
|
POST
|
Darryl, Where are you making your code changes and what exactly do you mean by change the coordinates of where the widgets open ?
... View more
06-28-2010
07:26 AM
|
0
|
0
|
1907
|
|
POST
|
Leon, Strange that you are having trouble with this... There must be a really slow map service in your map. The issue is that the Tree can not have the expand functions called before it is ready, meaning all the leafs are initialized. So if you have a very slow map service in your map then the expand function could be getting called before the tree is ready. You could try another callLater from the first callLater. Robert
... View more
06-28-2010
07:21 AM
|
0
|
0
|
1535
|
|
POST
|
Darryl, I answered this same question that you posted in this thread http://forums.arcgis.com/threads/6467-Editing-Banner-in-Sample-Flex-Viewer
... View more
06-28-2010
06:47 AM
|
0
|
0
|
879
|
|
POST
|
Luke, You need to use the LayerDetails http://resources.esri.com/help/9.3/arcgisserver/apis/flex/apiref/com/esri/ags/layers/LayerDetails.html
... View more
06-28-2010
05:05 AM
|
0
|
0
|
1835
|
|
POST
|
Ian, I didn't extensively test this but seems to do what you are asking for. Just replace your layerLegendData.mxml with this code: <?xml version="1.0" encoding="utf-8"?>
<mx:VBox
xmlns:mx ="http://www.adobe.com/2006/mxml"
xmlns:widgets ="com.esri.solutions.flexviewer.widgets.*"
width ="95%"
minHeight ="22"
backgroundAlpha ="1"
paddingLeft ="9"
paddingRight ="3"
backgroundColor ="#FFFFFF"
includeInLayout="{isVisible}">
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
[Bindable]
private var layerName:String;
private var _infoData:Object;
private var ldata:Object;
[Bindable]
private var isVisible:Boolean = false;
[Bindable]
private var isNotSingle:Boolean = true;
[Bindable]
private var isSingle:Boolean = false;
public function get infoData():Object
{
return _infoData;
}
public function set infoData(value:Object):void
{
_infoData = value;
ldata = infoData.ldata;
layerName = infoData.title;
isVisible = infoData.isvis;
if(ldata.length == 1){
isNotSingle = false;
isSingle = true;
var infDataS:Object =
{
icon: ldata[0]["url"],
title: layerName
};
sLegendData.infoData = infDataS;
}else{
isNotSingle = true;
isSingle = false;
var recAC:ArrayCollection = new ArrayCollection();
for (var i:Number = 0; i < ldata.length; i++){
var infData:Object =
{
icon: ldata["url"],
title: ldata["label"]
};
recAC.addItem(infData);
}
legendRepeater.dataProvider = recAC;
}
}
]]>
</mx:Script>
<widgets:LegendData id="sLegendData" includeInLayout="{isSingle}" visible="{isSingle}"/>
<mx:Label text="{layerName}" fontWeight="bold" width="100%" includeInLayout="{isNotSingle}" visible="{isNotSingle}"/>
<mx:Repeater id="legendRepeater" includeInLayout="{isNotSingle}" visible="{isNotSingle}">
<widgets:LegendData infoData="{legendRepeater.currentItem}"/>
</mx:Repeater>
</mx:VBox> After paying around with this I like it, well something else to do to my website when I get back to work.
... View more
06-26-2010
07:46 PM
|
0
|
0
|
515
|
|
POST
|
Jesse, Here is the thread that explains how to do that. http://forums.esri.com/Thread.asp?c=158&f=2421&t=288036&mc=15#920818
... View more
06-25-2010
03:59 PM
|
0
|
0
|
478
|
|
POST
|
Jim & ESRI Forum personnel, It sure would be nice if this forum that has been in use for months now would actually do all it claims it does, like email notifications. And isn't about time that you guys made a more on the MVP program on this new site?
... View more
06-25-2010
01:10 PM
|
0
|
0
|
1699
|
|
POST
|
Jaime, You would get that error when Flash Builder is not building the ParcelNotificationWidget.swf (normally because of an error in code) and instead is using the old swf that was built using a different SDK and/or API version. Try deleting the ParcelNotificationWidget.swf from the bin-debug and make sure you do not have one in your src folder.
... View more
06-25-2010
04:12 AM
|
0
|
0
|
1836
|
|
POST
|
V, Does your problem window in Flash Builder not list any issues? The new ArcGIS Flex Viewer is still not available. It will be announced on the forum when it is available.
... View more
06-25-2010
04:06 AM
|
0
|
0
|
1622
|
|
POST
|
Jason, I have not been able to reproduce this issue...
... View more
06-24-2010
01:10 PM
|
0
|
0
|
616
|
|
POST
|
Faisal, It is not yet available. Just keep looking here on the forums and the API team will announce it when it is available.
... View more
06-24-2010
10:14 AM
|
0
|
0
|
766
|
|
POST
|
Sandra, Try this public function querybmpid(sParam:String):void
{
var i:Number = cboLayerText.selectedIndex;
queryLayer = "http://arcgis.sd.gov/Arcgis/rest/services/BMP2/MapServer/0";
queryExpr = "BMPID = '[value]'";
queryFields = "*";
queryTitleField = "BMPID";
queryLinkField = "";
... View more
06-24-2010
09:18 AM
|
0
|
0
|
1546
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-14-2020 11:36 AM | |
| 16 | 05-17-2021 01:51 PM | |
| 1 | 07-06-2020 05:32 AM | |
| 1 | 07-10-2018 05:49 AM | |
| 9 | 01-28-2022 10:58 AM |
| Online Status |
Offline
|
| Date Last Visited |
4 weeks ago
|