|
POST
|
Bump, and more on this. It appears as if this is not an eTime widget issue, but a Time widget issue in general. Does not matter if I load the eTime or Time widget, it is still appears to be "creating" time sequence data on it's own. I am used to server changing config files on it's own, but can't figure out where these extra time "intervals" are coming from, but they don't appear in ArcMap. R_ guess it is an eTime widget issue afterall. I can configure the Time widget to increment by year with only one stop per year. However, if you drag the slider, it is still putting time/date info in there from somewhere. However, the eTime widget, no matter how I try to configure it, seems to automatically break each interval into "two" stops.
... View more
04-23-2012
10:14 AM
|
0
|
0
|
1801
|
|
POST
|
Bump, and more on this. It appears as if this is not an eTime widget issue, but a Time widget issue in general. Does not matter if I load the eTime or Time widget, it is still appears to be "creating" time sequence data on it's own. I am used to server changing config files on it's own, but can't figure out where these extra time "intervals" are coming from, but they don't appear in ArcMap. R_
... View more
04-18-2012
04:03 PM
|
0
|
0
|
1801
|
|
POST
|
Is there a way to have it display ALL of the time features after the time sequence has finished? I don't want it to be cumulative, and only want to see the polygons by year. However, after it "finishes" the time sequence, would like to display ALL of the features. Thanks for any help, R_
... View more
04-18-2012
03:57 PM
|
0
|
0
|
1183
|
|
POST
|
Below is the MapService time info for my "layer": Time Info: Start Time Field: Year_of_Trans End Time Field: N/A Track ID Field: N/A Time Extent: [2010/01/01 08:00:00 UTC, 2015/01/01 08:00:00 UTC] Time Zone: Pacific Standard Time Respects Daylight Saving: False Time Interval: 1 (esriTimeUnitsYears) Export Options: Use Time: True Time Data Cumulative: False Time Offset: 0 My Year_of_Trans field only has 4 digit years from 2010 to 2015. In ArcMap, the time slider, set to 1 years interval will step through 1 year at a click/slide. However, in the FlexApp, for the first three years, there are two clicks/slides per interval and in the last two years, there are only one. (I.e., starts by displaying the 2010 data, to get to display 2011 data, need to click on the next arrow TWICE. Same for 2011-2013. Then, there is only 1 click for 2014 and 2015). Also, the only values in my time field is the 4 digit year, yet somehow, when you "slide" the slider, it is putting in months, day, year and even time??? Not sure how/where it is interpolating that information from, but is probably related to my issue. Does the eTime slider only work with time fields of a particular type or is it supposed to work with same types as ArcMap slider? I started with a date field type, but could never get just a 4 year only to go, so have tried with both numeric and text fields, but have the same issues with all. Any ideas? R_
... View more
04-05-2012
03:07 PM
|
0
|
17
|
3498
|
|
POST
|
Hi Robert, I have downloaded your latest source code and replaced all the contents in my InfoTemplates folder (other than the config files). then, re-built project, and even did a clean. However, I am still getting the missing title on second click (once layer switched). To simplify, I stripped all the layers from my map except two, loaded as type=feature coming from two separate services, and with different attribute item names. I can click on as many features in one layer as I want, and it works fine. Then, I can click on as many features from the "second" layer as I want and it works fine. HOWEVER, when I switch layers a second time, it goes right back into the "have to click twice" to get the label issue. From this point on, every time I click on a feature from the "other" layer (other meaning other than the one I just clicked), it will not show the title unless I click the feature a second time. Once I do click on that layers item a second time, it will keep working correctly as long as I keep clicking that layer only. Loses it again on switch. If I do a refresh, it starts over letting me switch between layers ONCE. Work around for now is to not have a title block, and put the titlefield as the first <fields> item. However, sure like the bold title up there (when it works). Thanks agian for the help, Rhett
... View more
12-19-2011
09:04 AM
|
0
|
0
|
1082
|
|
POST
|
Already tried that, but didn't work. Thought maybe it was related to the warning about "Duplicate Variable definition", but if I hard code that, it still takes it. I.e., If I modify it to this: var title:String = "Testing";
map.infoWindow.label = title;. Then it picks it up every time and always says "Testing" for my label no matter how much switching between services I do. So, I then did this: var title:String = titleField;
map.infoWindow.label = title; So, it should now put the <titlefiled> field name up there instead of the value. From this, I can tell that it is using the <titlefield> from the last config file the first time you click on a feature using a different config file. Example, I have a waste site point layer <titlefield> = "sitecode" I have a waste site line layer <titlefield> = "sitecode" I have a building layer <titlefield>="name" with the modification I mentioned above, if I click on a wastesite point feature, the popup label is "sitecode", if I then click a building feature, the popup label says "sitecode" (wrong), if I click it a second time, it will now say "name" (right). Then, click on any waste site, and the label is "name"(wrong), click again and it says "sitecode"(right). Of course, I can click between the wastsite lines and points and it works as both have the "SITECODE" field. So, it seems to be pulling the <titlefield> from the last layer config file, BUT is extracting the data for that field from the correct (current) layer. So, the reason it was not "mis behaving" when I cliked on different sub-layers is that both of them have a "sitecode" field so it could extract the value. It is when it tries to get data from a field that doesn't exist (because it is using the <titlefield> from a differnent layer, and that field does not exist in this data set (buildings does not have a "sitecode" field)) that it returns a blank. Any ideas on how to make it read the titlefield from the correct config file (instead of from memory or wherever it gets it) the "first" time I click a feature? Thanks again, Rhett Little more on this. Just noticed that I can click on many features in a layer and it keeps working. The first time I click a feature from a different layer it works correctly also. Any more clicks after that is when it starts misbehaving as above and keeps misbehaving until I do a reload of the page <cntr> <F5>. So, it lets me switch between layers once only.
... View more
12-15-2011
02:01 PM
|
0
|
0
|
1082
|
|
POST
|
Well, that worked for the missing image issues, but have noticed that I get a similar issue when switching services. In other words, I have several layers loading as type="feature", which requires the sub layer number on the end of the url. I have config.xml's set up for several of these with the InfoTemplates (with multiimage enabled). Some feature layers are being loaded from a single service (http://server/ArcGIS/rest/services/Base/MRs/MapServer/0) and another to .../1. While others come from a different service (with or without sub layers, doesn't seem to matter). As long as I click on any of the features from a single service (doesn't matter with sub layer as long as it is from the same base service), the popup works correctly with the title field. However, if I have clicked on one of the service layers, then click on a feature from a DIFFERENT service, the title is blank. re-click on the same feature, and it gets populated. I have put the same field I'm using for titlefield in the fields list, and is displayed correctly, so I know it is loading the correct data, but for some reason, the map.infowindow.label = title; does not seem to get updated until I click on it twice. In fact, if I change that snippet in your AttRelateinfoWinWidget.mxml to map.infowindow.label = "Title text"; then EVERY time I click it will put the hard coded "Title text" up there. Almost if it is skipping the part that set the title variable on layer change until clicked a second time. Anyway, pretty much exausted myself trying to figure this out, so thought I'd see if you have any ideas on how to approach this. Thanks, R_
... View more
12-14-2011
12:47 PM
|
0
|
0
|
1082
|
|
POST
|
Thanks Robert, Once I added the import statement it seems to be working. import com.esri.ags.events.GraphicEvent Still have some testing to do, but it appears to give me what I need. Thanks again, Rhett
... View more
12-08-2011
03:12 PM
|
0
|
0
|
992
|
|
POST
|
Alex, Oh I guess that it would have helped if you said that you where trying to do this using the SimpleInfoWinWidget. It uses whichever geometry is on top as it gets triggered by mouse events. Why not use the identify widget? Hi Robert, Thought for sure I saw a post somewhere where you describe how to turn off the "move to top on hover" event that moves the geometry to the top when you hover over it. I have overlapping polygons in my service, and is sorted by area (smaller polys on top). When it loads into flexviewer (using 2.5 now), the graphics come across as they are sorted in the service. However, when I hover over it, the first one I hover on moves to the top and I can no longer get the feature underneath to move to top. So, figure if I can turn off this feature, then the smaller polys will stay on top so I can InfoTemplate them. Like I said, thought I saw a post on this, but this is the only related post I seem to be able to find today. Any chance you could point me to the other post, or to the right section of code to handle this? Thanks yet again, Rhett Would use the identify widget, but am taking advantage of your wonderfull multiimagefield on these layers.
... View more
12-08-2011
12:51 PM
|
0
|
0
|
992
|
|
POST
|
Excellent. Works like a charm. Thanks again Robert for your help, Rhett
... View more
12-05-2011
07:30 AM
|
0
|
0
|
1082
|
|
POST
|
Thanks again Robert. That allows me to change the size of the preview image, but can't figure out how to center it. However, the multi image control works like a champ, and that is the important part. Finally have a way to show more than one photo associated with my features. Too bad we can't hyperlink off of relates, then this would be simple. One other thing I have noticed though, is that not ALL of my features have photos. If I click on the features that have photos, everything is working correctly. However, if I start clicking on features that do NOT have photos, the titlefield value does not change. So, no matter how many non-photo features I click on, it always gives me the title of the last feature I clicked on that has photos. the other fields that I have change to the proper info, even if I use the same field in the <fields> tag as I do the <titlefield> tag. The fields data updates correctly every time, the titlefield only updates if photos are present. I have incorporated this "fix" http://jeffgermain.wordpress.com/2011/05/05/bug-in-arcgis-api-for-flex-infowindow-workaround/ as it seemed to be similar if not the same issue, but did not resolve it. Any idea as to what is going on here and how to fix it? Thanks again, R_ Rhett, Sure just adjust the cWidth of the MultiImageControl <InfoTemplates:MutiImageControl id="mInfoImageC" width="100%" visible="false" includeInLayout="false" cWidth="250"/>
... View more
12-01-2011
04:07 PM
|
0
|
0
|
1122
|
|
POST
|
Robert, Noticed that I had ended up with the mxml and swf files together in my source directory. Once I removed all the swf's and re-compiled, this setting starting having an affect. I set a max/min width field, and the trick was to make the MaxDisplayedLines= to a number larger than ever needed. Now my text wraps within the box instead of making the box huge. The one issue I have now is that the preview image (using the multiimagelink) is no longer in the middle of the popup window, but is off to the left side. I tried to figure out how/where to make this change so that it centers it inside the window, regardless of the window size, but have not been successfull. Was hoping you could point me towards the right file/code block as where this is handled so I can try to manipulate to fit. Thanks again for any insight, Rhett Rhett, I don't have any experience with that scenario, but I would look at the InfoContentItemRenderer.mxml and this label: <s:Label id="value"
width="100%"
maxDisplayedLines="-1"/>
... View more
11-30-2011
01:17 PM
|
0
|
0
|
1122
|
|
POST
|
Was afraid you were going to say that. can't build attribute table for 32 bit float. can't lose my decimals here, so guess I'm going to see Pixel value. Thanks for the update, R_
... View more
11-29-2011
11:33 AM
|
0
|
0
|
2128
|
|
POST
|
That did it. Now all I have is the schema warnings so I should be good to go. Thanks again for the (rapid) help, Rhett
... View more
11-29-2011
10:48 AM
|
0
|
0
|
1122
|
|
POST
|
Thanks Martyn, I got the identity tool to give me the values. However, I noticed that you have it saying "Depth", wheras I just get "Pixel value". Was wondering how you got the "Depth" to show instead. Thanks, R_
... View more
11-29-2011
10:11 AM
|
0
|
0
|
2130
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | a month ago | |
| 1 | 12-10-2025 02:05 PM | |
| 2 | 12-05-2025 01:12 PM | |
| 1 | 10-30-2025 04:04 PM | |
| 2 | 11-03-2025 02:33 PM |
| Online Status |
Offline
|
| Date Last Visited |
Thursday
|