|
POST
|
Doug, The TOC widget seems to add the horizontal bar automatically when it is sized smaller than the list (between the plus sign and dropdown arrow). I think what you are running into is that the toc box for the list is too small for the length of your layer names and are getting truncated. If you narrow your TOC widget so that you can not see the plus sign and dropdown (where zoom to is), you should see the horizontal scroll bar. If this is the case, in the TOCWidget.mxml at the bottom, the width of the box being populated is controlled in this part of the code: <toccomp:TOC id="toc"
width="100%"
height="100%"
labels="{[ZoomToMakeVisible,ExpandAll,CollapseAll]}"
useesridescription="{UseNewEsriDescrption}"
expanded="{expanded}"
disableZoomTo="{disableZoomTo}"
fullexpanded="{fullexpand}"
legendCollapsed="{legendCollapsed}"
liveScrolling="false"
variableRowHeight="true"
tocMinWidth="{wTemplate.width - 45}"
scroller="{scr}"
loader="{boxMessage}" paddingTop="0" paddingBottom="0"/>
</s:Group> If you hard code that to a number that is large enough to fit your layer names (tocMinWidth="500"), then it will push the drop down off the window and thus should add the scroll bar. R_
... View more
01-24-2013
11:40 AM
|
0
|
0
|
2214
|
|
POST
|
Was testing the add to/remove from and have some input that might help. Noticed that the graphical search is working as Michelle described, creates a new selection every time. However, the text search is working "mostly". I can select with a text search, then add to/remove from it and it will add/remove the new items to the datagrid, results, but will NOT add it to the fixed DG... In case this helps narrow it down, R_
... View more
01-24-2013
11:21 AM
|
0
|
0
|
1893
|
|
POST
|
Robert, The fixed DG seems to honor the order of the <fields> in the fixed DG. however, if one of them is a hyperlinkgridfield="true", it always gets appended to the end of the DG (last column). Would it be a simple mod to have that show up as the first column instead of the last? Thanks, R_
... View more
01-24-2013
10:52 AM
|
0
|
0
|
1909
|
|
POST
|
That's what I was afraid of. Of course, if ESRI ever comes up with a way to make a many:many attachment relate (without having to manually enter every attachment) it wouldn't be an issue. Still trying to find a way to display multiple images for a dynamic feature with the built in tools. Thanks again for the input, R_
... View more
01-24-2013
06:47 AM
|
0
|
0
|
514
|
|
POST
|
Is there a way to determine if a feature has attachments? In the popuprendererskin, If I test for layerDetails.hasAttachments, it will always report true if the "layer" has attachments enabled. I would like to test to see if the current feature has attachments, if so, I would not add anything to the mediaBrowser. However, if there is no attachment, then I want my media to be appended to the popup. anyway, would be pretty simple if there is a way to tell if the feature I just clicked on has attachments (uploaded, not just enabled) or not. Any suggestions? R_
... View more
01-23-2013
05:04 PM
|
0
|
2
|
2244
|
|
POST
|
Seemed to be working for me without removing the glow filter. However, then I tried it with "my" selection colors. Turns out that yellow is the glow color, so didn't notice it with your colors at first. However, if I remove the glow filter (make sure to add the new function AND update the other one to call the removeGlow) then whatever color I select gets applied. I did notice that if you set an alpha="0.0", it will override with the defaults, so, in order to "turn off" the polygon fill color, I had to change the mxml to default to 0.0. Also, it does not appear as if the datagrid colors are being applied at all, I just keep that section commented out. R_
... View more
01-23-2013
11:04 AM
|
0
|
0
|
2313
|
|
POST
|
Does look like you got some odd code, maybe even some development code or something as mine has this separated into two functions. Here is my elevations function (and the addElevationsToPoints that looks like is "included" in your elevations function): function elevations( oResult:Object, nFromMeters:Number ):Array {
var aryElevations:Array = new Array();
for ( var iElevationSet:int = 0; iElevationSet < oResult.elevations.length; iElevationSet++ ) {
var aryElevationSet:Array = oResult.elevations[ iElevationSet ];
for ( var iElevation:int = 0; iElevation < aryElevationSet.length; iElevation++ )
aryElevations.push( aryElevationSet[ iElevation ] * nFromMeters );
}
return aryElevations;
}
function addElevationsToPoints( oResult:Object, aryElevations:Array ):void {
var aryResult:Array = new Array();
var iCurItemIdx:int = -1;
// For each geometry...
for ( var iGeom:int = 0; iGeom < oResult.geometries.length; iGeom++ ) {
var oGeom:Object = oResult.geometries[ iGeom ];
// For each path in each geometry...
for ( var iPath:int = 0; iPath < oGeom.paths.length; iPath++ ) {
var aryPath:Array = oGeom.paths[ iPath ];
// For each point in each path...
for ( var iPt:int = 0; iPt < aryPath.length; iPt++ ) {
var ptCurrent:Array = aryPath[ iPt ];
ptCurrent.push( aryElevations[ ++iCurItemIdx ] );
}
}
}
}
} R_
... View more
01-23-2013
06:46 AM
|
0
|
0
|
683
|
|
POST
|
Hi Robert, I have the fixed DG enabled in my FV31 app with popupsdisabled=true. I also have some popups configured that have media (and tested with the OTB viewer adding the FDG). If I click on a feature without media, no issues, however, the FIRST time I click on a feature that has media, not only does the infowindow popup, but the fixed DG pops up as well and will not auto-hide itself until I mouseover it. From then on, it works as expected. Only opens the (blank) fixed DG the "first" time I click a feature that has media in the popup, and works normal from then on. Any ideas what/where would be casuing this? R_ first noticed on 3.1.2, updated to 3.1.5 and still see it. can reproduce on your eSearch example page if I go to traffic cameras and click on one.
... View more
01-22-2013
04:11 PM
|
0
|
5
|
2331
|
|
POST
|
Actually, It doesn't look like you are doing anything fancy, just pulling up the image with a hyperlink and no other data fields. Might try this instead and not use the description tag. <?xml version="1.0" ?>
<configuration>
<title>{DESCRIPT}</title>
<!-- <description>
<![CDATA[<a href='{Hyperlink_Relative_Path}'><img src='{jpg_Popup_Path}' width=800></a>
]]>
</description> -->
<fields>
</fields>
<medias>
<media type="image"
title="{DESCRIPT}"
imagesource="{jpg_Popup_Path}"
imagelink="{Hyperlink_Relative_Path}"/>
</medias>
</configuration> R_
... View more
01-22-2013
12:55 PM
|
0
|
0
|
1733
|
|
POST
|
Here is my Popup Config. <?xml version="1.0" ?>
<configuration>
<title>{DESCRIPT}</title>
<description>
<![CDATA[<a href='{Hyperlink_Relative_Path}'><img src='{jpg_Popup_Path}' width=800></a>
]]>
</description>
</configuration>
Might try this. The documentation says to use the description OR the fields not both. However, it doesn't make mine wack out like that, but have not tested with medias as of yet either. Might try removing the width=800 from the href as well and see if that is messing it up as I think it's supposed to fit the image to the frame. R_
... View more
01-22-2013
12:53 PM
|
0
|
0
|
1733
|
|
POST
|
Not sure what to tell you. I tried it using both the built in ESRI SOE and my own SOE, as well as using my state plane wkid, then also removed that and used the arcgisbasemaps to set my map wkid. Can not get it to reproduce what you are seeing. I am using FV3.1. If I get a chance, I'll see if I can make it happen in 3.0. R_
... View more
01-22-2013
12:35 PM
|
0
|
0
|
2231
|
|
POST
|
What version are you using? I commented out the meters and uncommented the feet so it looked like: <unitsAndLabeling>
<elevation>
<label>
<chart>feet</chart>
<dataTip>ft</dataTip>
</label>
<multiplyByToConvertFromMeters>3.2808399</multiplyByToConvertFromMeters>
</elevation>
<distanceAlongPath>
<label>
<chart>miles</chart>
<dataTip>mi</dataTip>
</label>
<multiplyByToConvertFromMeters>0.000621371192</multiplyByToConvertFromMeters>
</distanceAlongPath>
</unitsAndLabeling> and the values as well as the axis change to feet/miles. R_
... View more
01-22-2013
10:58 AM
|
0
|
0
|
2231
|
|
POST
|
any chance you could include your popupconfig.xml so I can try to reproduce with similar data? Also, I think the close button is handled in the ContentNavigator component. R_
... View more
01-22-2013
10:41 AM
|
0
|
0
|
1733
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-14-2026 04:00 PM | |
| 1 | 09-14-2022 07:53 AM | |
| 1 | 09-14-2022 08:23 AM | |
| 1 | 05-21-2026 08:53 AM | |
| 1 | 05-14-2026 04:28 PM |
| Online Status |
Online
|
| Date Last Visited |
yesterday
|