|
POST
|
The symbol package was renamed to symbols. For more info, see: http://help.arcgis.com/en/webapi/flex/help/index.html#migrating.htm
... View more
10-13-2010
09:16 AM
|
0
|
0
|
714
|
|
POST
|
What happens in the test sample app if you put the same Bing layer as the first layer before the problem layer?
... View more
10-13-2010
09:01 AM
|
0
|
0
|
2190
|
|
POST
|
Is your service public? Is each feature in the table an observation of time and position of a tracked feature?
... View more
10-12-2010
02:23 PM
|
0
|
0
|
344
|
|
POST
|
Thanks for reporting this issue. It should be fixed in a future API release. One note is that it doesn't occur if you pan the map before turning the service back on.
... View more
10-12-2010
02:19 PM
|
0
|
0
|
512
|
|
POST
|
Does HttpFox show a query request to http://devn19/ArcGIS/rest/services/CML_loans_only/MapServer/0/query ? If yes, what is the response? Note: Once this is working, another issue is going to be the symbology. If you're not using ArcGIS Server 10, the feature layer doesn't get the symbology from the server so you'll see default gray symbols. You'll need to update the code to set a renderer on the feature layer.
... View more
10-12-2010
01:36 PM
|
0
|
0
|
1550
|
|
POST
|
I'm confused now. I thought you were trying to load this layer: http://devn19/ArcGIS/rest/services/emili_ho_loans_dev/FeatureServer/0 but you don't have 10, so you were going to try: http://devn19/ArcGIS/rest/services/emili_ho_loans_dev/MapServer/0 Is this correct? Also, can you try clicking the "Query Layer" link and see what happens when you query the layer using the html form with a where clause of something like 1=1?
... View more
10-12-2010
12:50 PM
|
0
|
0
|
2258
|
|
POST
|
autorefresh is in seconds. It's for types dynamic and arcims.
... View more
10-12-2010
11:34 AM
|
0
|
0
|
514
|
|
POST
|
The FeatureLayer url should be to a layer in the map service. e.g., http://myserver/arcgis/rest/services/Example/MapServer/0 Also, FeatureSet.attributes is an Array of Objects, so you need an inner loop to pull out the values of the attributes for each feature in the FeatureSet. http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/FeatureSet.html#attributes
... View more
10-12-2010
10:47 AM
|
0
|
0
|
942
|
|
POST
|
Does the layer have a min or max scale value? If you use a tool like HttpFox, do you see a /query request being sent to the layer?
... View more
10-12-2010
10:43 AM
|
0
|
0
|
2258
|
|
POST
|
Can you post a test case? It sounds like your code is correct, but you may want to contact ESRI Tech Support to see if there's a bug here.
... View more
10-12-2010
10:20 AM
|
0
|
0
|
942
|
|
POST
|
Here's a sample that I think meets your needs. It creates a FeatureLayer that can be edited without effecting the server since it's using a FeatureCollection. <?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:esri="http://www.esri.com/2008/ags">
<fx:Script>
<![CDATA[
import com.esri.ags.SpatialReference;
import com.esri.ags.events.FeatureLayerEvent;
import com.esri.ags.events.LayerEvent;
import com.esri.ags.layers.supportClasses.FeatureCollection;
import com.esri.ags.tasks.supportClasses.Query;
protected function fl1_loadHandler(event:LayerEvent):void
{
var query:Query = new Query();
query.outSpatialReference = new SpatialReference(102100);
query.where = "1 = 1";
fl1.queryFeatures(query);
}
protected function fl1_queryFeaturesCompleteHandler(event:FeatureLayerEvent):void
{
var featureCollection:FeatureCollection = new FeatureCollection();
featureCollection.featureSet = event.featureSet;
featureCollection.layerDefinition = event.featureLayer.layerDetails;
fl2.featureCollection = featureCollection;
}
]]>
</fx:Script>
<fx:Declarations>
<esri:FeatureLayer id="fl1"
load="fl1_loadHandler(event)"
queryFeaturesComplete="fl1_queryFeaturesCompleteHandler(event)"
url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Earthquakes/EarthquakesFromLastSevenDays/MapServer/0"/>
</fx:Declarations>
<esri:Map id="map">
<esri:ArcGISTiledMapServiceLayer url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/>
<esri:FeatureLayer id="fl2"/>
</esri:Map>
</s:Application>
... View more
10-12-2010
10:14 AM
|
0
|
0
|
2399
|
|
POST
|
A map service is fine. You only need a feature service if you need to edit the layer. Is "Query" listed as a supported operation at the bottom of the page at: http://devn19/ArcGIS/rest/services/emili_ho_loans_dev/MapServer/0
... View more
10-12-2010
09:54 AM
|
0
|
0
|
2258
|
|
POST
|
Have you set the labelField? http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/controls/ComboBox.html#labelField
... View more
10-12-2010
09:50 AM
|
0
|
0
|
1732
|
|
POST
|
Have you set the outFields? http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html#outFields
... View more
10-12-2010
09:27 AM
|
0
|
0
|
942
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-06-2017 01:13 PM | |
| 2 | 03-06-2017 02:12 PM | |
| 1 | 06-22-2010 12:01 PM | |
| 1 | 08-06-2012 09:29 AM |
| Online Status |
Offline
|
| Date Last Visited |
04-15-2025
04:18 PM
|