|
POST
|
A Graphic can not be in more than one GraphicsLayer at a time. You'll need to have two Graphic instances for each feature. A quick way to do this would be to use two QueryTasks, or you could loop through the results and create a new duplicate Graphic for each result.
... View more
04-26-2010
09:20 AM
|
0
|
0
|
619
|
|
POST
|
Here's an example of getting to the loaded tiles in a tiled layer and modifying their bitmapData. The same could be done for a dynamic layer. http://forums.esri.com/Thread.asp?c=158&f=2421&t=303099#948090
... View more
04-23-2010
08:33 AM
|
0
|
0
|
550
|
|
POST
|
You could put a black background behind the Map and then when they select a polygon, just turn the visibility of all the other graphics to false.
... View more
04-23-2010
08:25 AM
|
0
|
0
|
385
|
|
POST
|
If you leave visible set to true, do you see it how you want? If yes, instead of trying to set the visible property yourself, you can use the Layer's maxScale/minScale properties. Reference: http://resources.esri.com/help/9.3/arcgisserver/apis/flex/apiref/com/esri/ags/layers/Layer.html#maxScale maxScale/minScale Sample (This is using 2.0, but can be done in 1.3 also): http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=AddLODS 1.3 Sample that sets the visible property: http://resources.esri.com/help/9.3/arcgisserver/apis/flex/samples/index.html?sample=AddLODS
... View more
04-22-2010
12:06 PM
|
0
|
0
|
619
|
|
POST
|
You can loop over the feature layer's graphicProvider to iterate over each Graphic in the layer, but an easier solution could be to use the feature layer's selectFeatures() method. You can give it a Query object who's geometry is the Extent you want to be selected. Reference: http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html#selectFeatures()
... View more
04-22-2010
08:42 AM
|
0
|
0
|
877
|
|
POST
|
This is normal if your first layer is a dynamic layer: http://resources.esri.com/help/9.3/arcgisserver/apis/flex/samples/index.html?sample=DynamicMap The slider is only visible if the Map's lods property is not null. Then the slider will have one tick per level. Normally the lods come from your first layer when it's a tiled layer. Reference: http://resources.esri.com/help/9.3/arcgisserver/apis/flex/apiref/com/esri/ags/Map.html#lods
... View more
04-20-2010
06:28 PM
|
0
|
0
|
268
|
|
POST
|
The tiled layer throws a complete event for each tile. Have you tried switching to the tilesUpdated event on your tiled layers? If yes, can you post your code? Reference: http://resources.esri.com/help/9.3/arcgisserver/apis/flex/apiref/com/esri/ags/layers/TiledMapServiceLayer.html#eventSummary
... View more
04-20-2010
06:16 PM
|
0
|
0
|
586
|
|
POST
|
Try this:
import com.esri.ags.utils.JSON;
import mx.controls.Alert;
function testJSON():void {
var myObject:Object = new Object();
myObject["label"]="test";
myObject["myDate"]= new Date().time;
var jsonDateString:String = JSON.encode(myObject);
Alert.show(jsonDateString);
}
... View more
04-16-2010
01:36 PM
|
0
|
0
|
1352
|
|
POST
|
You'll need to set the Date's time property in the object you're encoding.
var now:Date = new Date();
var result:String = JSON.encode({ "date": now.time });
... View more
04-16-2010
11:44 AM
|
0
|
0
|
1352
|
|
POST
|
You would need to set layers to: all:3 See: http://resources.esri.com/help/9.3/arcgisserver/apis/rest/identify.html
... View more
04-16-2010
08:42 AM
|
0
|
0
|
1347
|
|
POST
|
Since you're using the Flex Viewer, you'll need to keep using the 1.X version of the API. You can use FB4, but you'll need to change the project settings to use the Flex 3.5 SDK.
... View more
04-15-2010
08:08 AM
|
0
|
0
|
673
|
|
POST
|
You'll need to create a web service on your server that accesses your database and returns the data you want. There are many ways this can be done. If the payload is small, then I'd recommend implementing it in whatever way you're most comfortable with. See here from more info: http://livedocs.adobe.com/flex/3/html/data_intro_2.html#188004
... View more
04-14-2010
02:14 PM
|
0
|
0
|
2384
|
|
POST
|
You could try a similar fix by implementing the same thing in your custom layer. When disableClientCaching is true, it just adds a _ts url parameter with the current time. This way every url requested is different. Code: reqVars._ts = new Date().time
... View more
04-14-2010
09:22 AM
|
0
|
0
|
1729
|
|
POST
|
Try using a tool like the Firefox Add-on HttpFox to see what the requests and responses are when you run your app and look for any requests that are failing or returning errors.
... View more
04-13-2010
01:03 PM
|
0
|
0
|
503
|
|
POST
|
Have you tried setting disableClientCaching to true? This should prevent the browser from using it's own cache instead of going back to the server. See: http://resources.esri.com/help/9.3/arcgisserver/apis/flex/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer.html#disableClientCaching
... View more
04-09-2010
01:46 PM
|
0
|
0
|
1729
|
| 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
|