|
POST
|
You can set the dynamic layer's visibleLayers to the ids of the layers you want to show. Reference: http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer.html#visibleLayers
... View more
08-06-2010
08:49 AM
|
0
|
0
|
388
|
|
POST
|
See around line 414 of MapManager.mxml where it's adding a FeatureLayer to the map. FeatureLayer extends GraphicsLayer so it inherits the renderer and symbol properties. If you set either one, you'll can control the symbology of the layer and you won't get the default colors.
... View more
08-06-2010
08:43 AM
|
0
|
0
|
1608
|
|
POST
|
You can use the Flex API's FeatureLayer against layers in a 9.3 MapService. You won't get the server's rendering info automatically, but you may find it easier to create a renderer on the FeatureLayer then develop a new widget. Reference: http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/GraphicsLayer.html#renderer
... View more
08-05-2010
11:46 AM
|
0
|
0
|
1608
|
|
POST
|
Can you try a tool like HttpFox or Firebug to see what HTTP requests are being sent and which ones are failing?
... View more
08-04-2010
10:09 AM
|
0
|
0
|
1040
|
|
POST
|
Here's a sample from the old forum: http://forums.esri.com/Thread.asp?c=158&f=2421&t=297646 Here's some generic samples: http://blog.flexexamples.com/category/httpservice/
... View more
08-04-2010
08:51 AM
|
0
|
0
|
1134
|
|
POST
|
Another option is to have two versions of the config. For example, create config-internal.xml and when you access the app, go to: index.html?config=config-internal.xml
... View more
08-03-2010
10:26 AM
|
0
|
0
|
970
|
|
POST
|
Try changing Layers.mxml to this:
<mx:Script>
<![CDATA[
[Bindable]
public var layer:Layer;
]]>
</mx:Script>
<layers:LayerTOC layer="{layer}" height="100%" width="230"/>
and adding this to the LoadLayers(): lay.layer = myDynamicService;
... View more
08-03-2010
09:11 AM
|
0
|
0
|
1321
|
|
POST
|
Querying related records via the ArcGIS REST API requires ArcGIS Server 10: http://sampleserver3.arcgisonline.com/ArcGIS/SDK/REST/queryrelatedrecords.html You can call a custom server side script to access your data. It can be implemented in any technology you're comfortable with. Here's a discussion on some of the options available: http://livedocs.adobe.com/flex/3/html/Part4_data_access_1.html
... View more
08-03-2010
08:45 AM
|
0
|
0
|
1134
|
|
POST
|
Dasa, Where do you set map.logoVisible to false? Is it in the mapLoadComplete function that Robert referred to? Thanks for both of your help. UPDATE: I'm brand new to ActionScript as well, so syntax would help. I've tried map.logoVisible(false) and map.LogoVisible("false"), but it doesn't like either... Syntax is: map.logoVisible = false;
... View more
08-02-2010
02:09 PM
|
0
|
0
|
1238
|
|
POST
|
Starting with Flex API 2.0, you can just set map.logoVisible to false to turn it off. The check for which layers are loaded has been removed.
... View more
08-02-2010
01:26 PM
|
0
|
0
|
1238
|
|
POST
|
Have you imported Layer? e.g. import com.esri.ags.layers.Layer;
... View more
08-02-2010
11:40 AM
|
0
|
0
|
1321
|
|
POST
|
Here's a sample that uses the FeatureLayer. http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=FeatureLayerQueryRelated http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html#queryRelatedFeatures() You can also use a QueryTask: http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/tasks/QueryTask.html#executeRelationshipQuery()
... View more
08-02-2010
11:38 AM
|
0
|
0
|
1134
|
|
POST
|
The Viewer can be placed as-is under a subdirectory under root. The url's are relative to index.swf. Yes, you can add a url attribute to the widgetcontainer. See line 406 of ConfigManager.as.
... View more
08-02-2010
11:34 AM
|
0
|
0
|
449
|
|
POST
|
Yes, it can run into the same limits, but the behavior depends on the mode. In snapshot mode only one request is sent so if the response has been limited, this is all the features that it will have loaded. In onDemand mode, it sends another request on each extent change, so if if the first request was limited, it will get more features on the next request. Reference: http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html#mode
... View more
08-02-2010
09:56 AM
|
0
|
0
|
389
|
|
POST
|
You can remove the preload property in the config. Reference: http://help.arcgis.com/en/webapps/flexviewer/help/widgets.htm
... View more
07-30-2010
01:00 PM
|
0
|
0
|
601
|
| 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
|