|
POST
|
I have implemented this on most my widgets, but have changed to use ExternalInterface.call instead of navigateToURL so I can control the new browser window size. Seems to be working great, however, for about half the widgets, the help button shows as selected (underlined) as soon as you open the widget. The other half of my widgets don't get the selected underline until I actually click on the icon. Doesn't seem to be affecting the operation, but is somewhat confusing to some. Was wondering if anyone has an idea as to why it sometimes makes it selected, others not. For that matter, really just need a way to make them show as non-selected on widget open. Thanks for any insight, R_
... View more
02-26-2013
03:13 PM
|
0
|
0
|
1050
|
|
POST
|
Hi All, Users getting frustrated with the single line search, after selecting something from the dropdown, it populates the search box with the entire string selected. Often need to select some of it, delete, select more, delete, and so (even double/triple click doesn't work) on just to clear the box to enter a "new" search term. Anyway, This is what I did to the SearchInputSkin.mxml to make it clear the text each time the user clicks in the search box. In case someone else wants this: <s:RichEditableText id="textDisplay"
verticalAlign="middle"
widthInChars="10"
click="textDisplay.text=''" /> R_
... View more
02-26-2013
02:35 PM
|
0
|
4
|
2294
|
|
POST
|
Nick, As well of the initial open location of the widget. to relocate it, use top,bottom,left,right,vert/horizontal center in the widget tag. the available options can be seen here: http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Widget_tag/01m30000001w000000/ which gives you good example graphics of how it works. R_
... View more
02-25-2013
02:56 PM
|
0
|
0
|
903
|
|
POST
|
I just set the layerlistvisible="false" and use the TOC widget. It automatically puts both scroll bars on there when needed... R_
... View more
02-21-2013
12:26 PM
|
0
|
0
|
2231
|
|
POST
|
George, Do you have the ability to amend the source code? If so the fix you require to add an excel spreadsheet in decimal degrees to a web Mercator application is as follows: Add the following import statement: import com.esri.ags.utils.WebMercatorUtil; Change the gmapPoint variable as illustrated below: var long:Number = Number(tempData.getItemAt(i)[longNumb].value); var lat:Number = Number(tempData.getItemAt(i)[latNumb].value); // var gmapPoint:MapPoint = new MapPoint(long,lat,new SpatialReference(4326)); var gmapPoint:MapPoint = new MapPoint(long,lat); gmapPoint = WebMercatorUtil.geographicToWebMercator(gmapPoint) as MapPoint; Regards Anthony Hi Anthony, the webmercatorutil is a nice feature, wish there was geopraphicToStatePlane utility. Since there isn't, do you happen to know the "snippet" that one would modify to allow this widget to take in geographic yet display in a map in state plane (WKID=32149)? Not even sure if this is possible without some major code, but if so, would be a great feature to have. Anyway, I'm open to suggestions, R_
... View more
02-21-2013
11:19 AM
|
0
|
0
|
931
|
|
POST
|
Anthony, Once I followed the directions in this post http://forums.arcgis.com/threads/50767-MGRS-Widget-for-Flex-Viewer?p=201105&viewfull=1#post201105 the errors went away. Is it possible these libs should be included in the AddExcel widget download, or should 3.1 actually be able to find these imports without the respective swc's? R_
... View more
02-20-2013
03:35 PM
|
0
|
0
|
931
|
|
POST
|
This is the only version that I was aware of agslib-3.1-2012-12-12.swc. Guess I'm off to glean the web to try to find the "full" version as I don't remember seeing a separate link anywhere. I don't even see ANY reference to that package in the API All Packages/classes reference page. Is there a different dowload and help page for the "full" version or is this just un-documented? R_
... View more
02-20-2013
02:52 PM
|
0
|
0
|
1470
|
|
POST
|
Hi Anthony, Decided to update my version of the AddExcel widget into FV3.1 but now it is not able to find a couple imports. import com.esri.ags.geod.Ellipsoid;
import com.esri.ags.geod.geom.MoreUtils; Says these imports are "not found". I'm using the api build 12/12/12 is there a newer one that I am missing, or does one need to find these imports elsewhere? Thanks, R_
... View more
02-20-2013
02:22 PM
|
0
|
0
|
1470
|
|
POST
|
Matt, Perhaps you have something else wrong in the config? I copy/paste your expressions in the eSearchWidget.xml and they populate the dropdown list just fine. R_
... View more
02-20-2013
10:45 AM
|
0
|
0
|
1979
|
|
POST
|
They are in the Package Explorer of your project in Flash Builder. R_
... View more
02-20-2013
10:42 AM
|
0
|
0
|
2569
|
|
POST
|
Yes, the index.html file gets re-written each time you build. Changes made to flexviewerfolder/html-template/index.template.html will be incorporated into the index.html on build. ConfigManager.as - flexviewerfolder/src/com/esri/viewer/managers/ConfigManager.as (MapManager.mxml is in the same folder). R_
... View more
02-19-2013
02:51 PM
|
0
|
0
|
2569
|
|
POST
|
Not sure if ArcGISOnline is different than a local AGS, but I don't see the respective MapService for that FeatureService (normally, there is one of each when you make a featureservice). In any case, since it is featureservice, this is the only way I could get it to display in the viewer: <layer label="Northern Pike YOY" type="feature" visible="true" alpha="1"
url="http://services.arcgis.com/F7DSX1DSNSiWmOqh/ArcGIS/rest/services/WIFO_GBT_PIKE/FeatureServer/0">
</layer>
<layer label="Northern Pike Spawn Adults" type="feature" visible="true" alpha="1"
url="http://services.arcgis.com/F7DSX1DSNSiWmOqh/ArcGIS/rest/services/WIFO_GBT_PIKE/FeatureServer/1">
</layer>
<layer label="Northern Pike Unk" type="feature" visible="true" alpha="1"
url="http://services.arcgis.com/F7DSX1DSNSiWmOqh/ArcGIS/rest/services/WIFO_GBT_PIKE/FeatureServer/2">
</layer>
But, it does draw them correctly (at least in v3 and v31. Don't have older version to test). R_
... View more
02-19-2013
02:46 PM
|
0
|
0
|
2199
|
|
POST
|
I don't have 2.5 to test, but I believe putting this in the <map> tag should make it the standard pointer. Though, should be the pointer all the time, not just on hover over point. openhandcursorvisible="false" R_
... View more
02-19-2013
01:23 PM
|
0
|
0
|
632
|
|
POST
|
Take a look at this thread: http://forums.arcgis.com/threads/57121-browser-cache?highlight=disable+cache should get you going, R_
... View more
02-19-2013
01:09 PM
|
0
|
0
|
2569
|
|
POST
|
Hi, I was wondering if anyone could help me set up config.xml correctly to reference an ArcGIS Online feature service with three sublayers, since I haven't been able to get the data to appear in the viewer. I tried the following to no avail to incorporate all three sublayers: <layer label="Northern Pike" type="dynamic" visible="true" alpha="1" url="http://services.arcgis.com/F7DSX1DSNSiWmOqh/arcgis/rest/services/WIFO_GBT_PIKE/ MapServer"> </layer> I then tried to do for a single sublayer to see if type="feature" would make it work: <layer label="Northern Pike" type="feature" visible="true" alpha="1" url="http://services.arcgis.com/F7DSX1DSNSiWmOqh/arcgis/rest/services/WIFO_GBT_PIKE/FeatureServer/0"> </layer> Any suggestions? Thanks in advance for your help! I don't use agsonline, so not sure if it is structured the same, but.. Does the above change work for you? R_
... View more
02-19-2013
12:45 PM
|
0
|
0
|
2199
|
| 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
|