|
POST
|
Not sure if it helps you, but the eSearch and Selection widgets have an option for selecting/searching by location (find all points that fall within polygon, etc). R_
... View more
10-16-2012
01:12 PM
|
0
|
0
|
1420
|
|
POST
|
I never could get it to work just running the ElevationsSOE_Install.bat file. I had to open a cmd AS ADMINISTRATOR (and, I am in admin group on this machine, but is not the same as run as administrator), go to the respective directories, then copy the two lines from the install.bat file and paste/run in the cmd running as admin. After that I was able to utilize the SOE. R_
... View more
10-16-2012
12:53 PM
|
0
|
0
|
1195
|
|
POST
|
The SwipeSpotlight widget has the option to turn on a layer if you select it and it is not visible. perhaps you can get the coding/ideas from that to accomplish what you want. Look in the layerChanged function and askAbout. R_
... View more
10-16-2012
10:38 AM
|
0
|
0
|
1473
|
|
POST
|
I think that's a bad idea for several reasons, but the main one is probably that there are no tiles covering the poles. The Web Mercator projection does not cover the whole world, the max latitude shown is about 85 degrees north. Like I said, I hadn't tested it with North Pole, and now that I look, I see the ESRI topo service doesn't cover anything north of Greenland, tiled or not. Bjorn, Curious what the "other" reasons that make this a bad idea are? Is there a "better" method for pulling as ESRI basemap service into a map that is other than mercator? R_
... View more
10-16-2012
08:37 AM
|
0
|
0
|
1375
|
|
POST
|
I have not tried with "North Pole", but if you load "your" basemap intially OR set the WKID to North Pole, then you should be able to load the ESRI basemap if you load as type="dynamic". That way, it won't be limited to the pre-rendered tiles, and can project it on the fly. It is slower than loading as tiled, but it should put it in the correct location. Just make sure the WKID is set BEFORE you load the ESRI map. R_
... View more
10-16-2012
07:53 AM
|
0
|
0
|
1375
|
|
POST
|
In 10.0, you can not just publish as an msd from ArcMap. In order for me to see the "Get Elevations" capability, I had to save the mxd, then right-click on it with ArcCatalog and select "Publish to ArcGIS Server". This way, I could now enable the elevations capability. R_
... View more
10-16-2012
07:47 AM
|
0
|
0
|
1195
|
|
POST
|
Are you layers coming from SDE? It is my understanding that the edit widget requres a featureservice from an SDE dataset and not a standard FGDB or shapefile. R_
... View more
10-16-2012
07:34 AM
|
0
|
0
|
1037
|
|
POST
|
Bob, That is because the MapSwitcher also has the <layerlist visible=" "> tag. If set to "true", you will get the "More" button with control over visibility of the operational layers, and you can "exclude" which of these show up under the "More" button. If you want to "exclude" basemaps, you can set addarcgisbasemaps="false" in the map tag, and just manually code the basemaps you want just like you did with the Streets basemap. R_ the info can be found here: http://resources.arcgis.com/en/help/flex-viewer/concepts/index.html#/Map_Switcher_widget_tags/01m300000026000000/
... View more
10-15-2012
11:08 AM
|
0
|
0
|
1298
|
|
POST
|
This is a duplicate post of http://forums.arcgis.com/threads/35200-How-to-trigger-mouse-click-to-show-popuprenderer as it was suggested I post it in this forum. I'm using the SFV and I'd like to show a popup of feature info when a user clicks on the results in the search widget. The standard results only take the basic attributes (primary display field), so I'd like to trigger a mouse click on the map to show the full popuprenderer based on the layer configuration in the map. Thanks Tim So, what are you after here? Since the popup in the search widget supports ALL the fields/attributes reported by REST, not sure what you are trying to do. R_
... View more
10-15-2012
10:58 AM
|
0
|
0
|
820
|
|
POST
|
Have not completely tested it to see if it breaks something else, but this seems to "fix" it. locateResult.content = "Number of Features: " + (tempData.length - 1).toString();
locateResult.icon = "assets/images/excel.png";
locateResult.layerID = String(layerNumber);
ResultAC.addItem(locateResult);
for(var i:int = 0;i<tempData.length;i++) //change from
for(var i:int = 0;i<(tempData.length - 1);i++) //change to Plus it makes it match the count from a few lines above. R_
... View more
10-15-2012
08:50 AM
|
0
|
0
|
2443
|
|
POST
|
Hi, I'm using TOC widget 3.0 uncompiled version. Some of my layers have long names and therefore title text is not visible entirely. It is covered by menu items (zoom to, transpareny...etc). How can I fix that? I'm attaching an image so the issue would be clearer. Thaqnks for your help. Best regards, Petra Petra, That appears to be in this part of the TOCWidget.mxml: <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> I just hardcoded it to tocMinWidth="700" (for the attached example) and it made my "extra long test description" to show. [ATTACH=CONFIG]18332[/ATTACH] R_
... View more
10-10-2012
08:28 AM
|
0
|
0
|
3098
|
|
POST
|
Not sure what to tell you. I just re-downloaded the SelectionWidget v1.5, added to a new FlexViewer3 project (uncompiled version), added to my module list and let it build. I do get warning about the dispatchEvent, but if I ignore it, and do NOT make any changes (as I did above)(it seems the changes remove a warning, but don't affect functionality), it seems to be working just fine. even with the SelectionWidget.xml that came with it, though I am not loading any of the services selected in my map. Once I change the config to my services, it is still working fine. Have not seen the error you mention and can't seem to reproduce. R_ I am using IE8, Flash Builder 4.6 and the 4.6.0 SDK
... View more
10-09-2012
04:33 PM
|
0
|
0
|
2005
|
|
POST
|
Hmm, if I get a chance, I'll try to re-do what I did as I still have yet to get the error. Maybe I changed something else that I forgot about. R_
... View more
10-09-2012
04:12 PM
|
0
|
0
|
2005
|
|
POST
|
I do not get any errors. Just a few warnings about length not being bindable. R_
... View more
10-09-2012
03:07 PM
|
0
|
0
|
2743
|
|
POST
|
I have updated this part of the init() function and it seems to be working fine in 3.0: Keep in mind that I am no pro by any means, but this seems to work. for (var i:int = 0; i < lyrList.length(); i++)
{
var lyrURL:String = lyrList.url;
var lyrLabel:String = lyrList.name;
var featureLayer:FeatureLayer = new FeatureLayer(lyrURL);
featureLayer.name = lyrLabel;
var l1lst:XMLList = (lyrList.maxscale as XMLList)
var l2lst:XMLList = (lyrList.minscale as XMLList)
//Override the min and max zoom scale if they are in the config // not sure why couldn't test directly but had to create varable first???
if (l1lst.length() > 0 )
featureLayer.maxScale = lyrList.maxscale;
if (l2lst.length() > 0 )
featureLayer.minScale = lyrList.minscale;
featureLayer.addEventListener(LayerEvent.LOAD, featureLayer_loadHandler);
}
.........
........
........
//ViewerContainer.dispatchEvent(new AppEvent(AppEvent.DATA_CREATE_INFOWIDGET, data, infoReady));
AppEvent.dispatch(AppEvent.DATA_CREATE_INFOWIDGET, data, infoReady);
I still get a couple warnings about "Data binding will not be able to detect assignments to length" for the end of SelectByAttributes.mxml and SelectionResults.mxml but it is working. R_
... View more
10-09-2012
10:54 AM
|
0
|
0
|
2743
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 05-21-2026 08:53 AM | |
| 1 | 05-14-2026 04:28 PM | |
| 1 | 05-07-2026 02:10 PM | |
| 1 | 04-02-2026 09:50 AM | |
| 1 | 04-01-2026 01:21 PM |
| Online Status |
Online
|
| Date Last Visited |
Thursday
|