|
POST
|
Greetings Everyone, I am having issues accessing the code Flex examples at the ArcGIS Resource Center. When I click on the Source Code tab for any example, the applicaiton covers half of the the content in the tab. This makes fully accessing the code difficult if not alltogeher impossible. Is anyone else having a problem? I am desperatly trying to access the source code for the Editing examples (http://help.arcgis.com/en/webapi/flex/samples/index.html#/Default_Editor/01nq0000001r000000/) . Any tips or tricks will be greatly appreciated. Thanks, Tyler
... View more
01-25-2012
11:00 AM
|
0
|
4
|
795
|
|
POST
|
Greetings Everyone, I am primarily a Flex Developer who uses the ESRI Flex API in conjunction with ESRI's Flex Viewer. ESRI's Flex resources are superb but our organization is standing up an excellent Sharepoint site. Additionally, we have some very talented Sharepoint developers. I would like to experiment with using ESRI's Sharepoint API to leverage some of the resources in our Sharepoint site but don't know where to get started. Would I primarily use the Silverlight Viewer for development or would I have to build a viewer from the ground up? Any additional tips or resources that I can use to quickly get started will be greatly appreciated. Thanks, Tyler Waring
... View more
12-21-2011
10:34 AM
|
0
|
3
|
689
|
|
POST
|
So after trying a number of different things I finally ended up with a simple solution. instead of: for each (var g:Graphic in event.features) { hydrantGraphicsLayer.add(g); objIds.push(g.attributes.OBJECTID_1) } I used: hydrantGraphic = new Graphic(); for each (var g:Graphic in event.features) { hydrantGraphic.geometry = g.geometry; hydrantGraphicsLayer.add(hydrantGraphic); objIds.push(g.attributes.OBJECTID_1) } I'm not sure what the difference is or why this was causing problems for me. If anyone knows why I'd be interested in knowing. Thanks, Tyler
... View more
12-20-2011
10:43 AM
|
0
|
0
|
543
|
|
POST
|
OK... now this is strange. So I figured out the problem. For cartographic purposes, I have a graphicsLayer that I am adding the selected feature to. Strangely enough, adding a graphic to this layer is causing my error. If I take out the line that adds the graphic to the graphicsLayer, everything works as I would expect. However, I need to be able to display which feature is selected in the featureLayer and the design requirements of my map services do not allow me to impliment featureLayer.selectionColor effectively. Is there a way around all this that I am overlooking. Thanks, Tyler Waring
... View more
12-20-2011
10:28 AM
|
0
|
0
|
543
|
|
POST
|
Greetings Everyone, I keep getting a strange error when trying to clear a selection on a feature layer. My application lets the user select a feature and then gathers information from a related stand alone table and displays the results. The code works perfectly the first time. However, the second time around the code fails on FeatureLayer.clearSelection();. The error I get is detailed below. I have no idea how to resolve this. Any suggestions will be greatly appreciated. Best Regards, Tyler Waring ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller. at flash.display::DisplayObjectContainer/removeChild() at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::$removeChild() at mx.core::UIComponent/removeChild() at com.esri.ags.layers::GraphicsLayer/collectionRemoveHandler() at com.esri.ags.layers::GraphicsLayer/collectionChangeHandler() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.collections::ListCollectionView/dispatchEvent() at mx.collections::ListCollectionView/removeItemsFromView() at mx.collections::ListCollectionView/listChangeHandler() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.collections::ArrayList/internalDispatchEvent() at mx.collections::ArrayList/removeItemAt() at mx.collections::ListCollectionView/removeItemAt() at com.esri.ags.layers::GraphicsLayer/remove() at com.esri.ags.layers::FeatureLayer/removeFeatureIIf() at com.esri.ags.layers::FeatureLayer/clearSelectionInternal() at com.esri.ags.layers::FeatureLayer/clearSelection() at gov.durhamnc.durhammaps.subapps.FireFlow.presentation::FireFlowPM/findHydrant() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at com.esri.viewer::ViewerContainer$/dispatchEvent() at gov.durhamnc.durhammaps.subapps.FireFlow.presentation::FireFlowPM/identifyEnd() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at com.esri.ags.tools::DrawTool/map_clickFirstHandler() at flash.events::EventDispatcher/dispatchEventFunction() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/dispatchEvent() at com.esri.ags::Map/dispatchMapMouseEvent() at com.esri.ags::Map/mouseUpHandler()
... View more
12-20-2011
09:13 AM
|
0
|
4
|
2221
|
|
POST
|
Greetings folks, I have a ArcGIS Server dynamic map services that don't load the first time they are accessed. We stop and restart the service each evening to run some update scripts on the database. When our Flex Viewer applications access these services for the first time each day, the services do not load. Once the user closes the browser and reloads the Flex viewer applicaiton however the service seems to load. Any idea what the problem is? Thanks, Tyler
... View more
12-09-2011
04:16 AM
|
0
|
2
|
2738
|
|
POST
|
Greetings Everyone, I would like to show an InfoWindow on a polyline. What is the best way to affix the InfoWindow to a line? Thanks, Tyler Waring
... View more
10-05-2011
12:15 PM
|
0
|
1
|
2740
|
|
POST
|
I guess I'll have to make an update script then. Thanks for the tip. Tyler
... View more
10-03-2011
09:02 AM
|
0
|
0
|
499
|
|
POST
|
Greetigns Everyone, I am trying to work with the SHAPE.len field in the Flex Viewer so that I can serve up to date length data for a linear feature layer. I assumed that I could get it in the same way that I usually get attributes: var nmLengthFeet:Number = graphic.attributes.SHAPE.len; Seems not to be working though. Any Ideas? Best Regards, Tyler Waring
... View more
10-03-2011
07:12 AM
|
0
|
5
|
936
|
|
POST
|
Greetings, I am setting up a Python script that selects a set of records according to their date. I want to get a set of records that have a date within 3 years. While testing in a geodatabase I was able to query successfully using the CURRENT_DATE constant. However in production my query fails against the SDE database. The query I have been using against the geodatabase is: MAX_DATE_ > CURRENT_DATE-1096 How do I update this query to work against a SQL Server 2000 database. Thanks, Tyler Waring
... View more
09-21-2011
09:21 AM
|
0
|
1
|
497
|
|
POST
|
Thanks for your reply YungKai. I finally used the right search phrase 'Collapsable Panel' and found what I needed. I am going to use something like this... http://hasseg.org/blog/post/113/collapsible-panel-component-for-flex/ ... to create a dropdown tray with some tools in it. Thanks for your reply. Tyler
... View more
09-15-2011
06:41 AM
|
0
|
0
|
405
|
|
POST
|
Greetings Everyone, I have seen some great mapping applications out there that utilize drop down panels or trays to organize map functionality. Usually there is a little bar that you click on to open the tray expose a set of tools. When you click on the tray's bar again the panel closes. I would like to use something like this in a mapping application that I am building. I am in the research stage of the build and have no idea what these trays are called much less how to build one. Does anyone have any information that they could share with me to help me in building one of these dropdown trays or panels. Searchable terms would be a great help too. Thanks, Tyler Waring
... View more
09-13-2011
11:36 AM
|
0
|
2
|
1230
|
|
POST
|
Greetings, This is a general question regarding forum point allocation. How are points awarded? If I poost a forum question, am I responsible for awarding the points? If so how? I have gained excellent information from folks in this forum and I want to make sure that people are getting their points and it is not immediately obvious to me how to award them. Thanks, Tyler
... View more
06-21-2011
05:32 AM
|
0
|
0
|
665
|
|
POST
|
O.K. I think that I may have crossed information from two separate versions of the Sample Flex Viewer or misdiagnosed/complicated the issue. There was a flaw in my logic and research that revealed itself last night. I now see that ViewerContainer.dispatchEvent(new AppEvent(AppEvent.WIDGET_CHANGE_STATE, {id: this.widgetId, state:WidgetStates.WIDGET_CLOSED})); does close the widget, at least to the extent I need for my program. I really had a different problem and some testing and research indicated the design I was implementing was flawed from the get go. A quick redesign has me back on track. Thanks for bearing with me. Tyler
... View more
06-21-2011
05:13 AM
|
0
|
0
|
504
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-28-2016 03:05 PM | |
| 5 | 09-20-2017 11:37 AM | |
| 2 | 01-28-2019 12:21 PM | |
| 1 | 10-16-2017 12:56 PM | |
| 1 | 10-07-2014 07:04 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|