|
POST
|
You can try "dynamic" as a test. You should get a map image, but it probably won't look good. Then switch it to "tiled". If it's not appearing in your layer list widget, it's probably not able to load. Try using a tool like HttpFox to see if it's making a request to the server and getting a good response.
... View more
09-10-2010
08:51 AM
|
0
|
0
|
1316
|
|
POST
|
Are you listening to loadError like this?
<esri:Map>
<esri:ArcGISDynamicMapServiceLayer id="lyr"
load="trace(event)"
loadError="trace(event)"
url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Foo/MapServer"/>
</esri:Map>
... View more
09-10-2010
08:45 AM
|
0
|
0
|
884
|
|
POST
|
You can use a FileReference to save and load local files, but this require user interaction. http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/FileReference.html If you're rather have something more like a browser cookie, then you can use SharedObject: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/SharedObject.html
... View more
09-10-2010
08:38 AM
|
0
|
0
|
1427
|
|
POST
|
Do the steps under References -> FAQ -> "Problem: cannot load data from my server." help at: http://help.arcgis.com/en/webapi/flex/help/index.html
... View more
09-10-2010
08:31 AM
|
0
|
0
|
530
|
|
POST
|
Did you set the type to "dynamic" and the url to the MapServer?
... View more
09-10-2010
08:21 AM
|
0
|
0
|
1316
|
|
POST
|
You can create a ArcGISDynamicMapServiceLayer outside of a Map whose url is pointing at the MapServer and add a load listener to it. Once it loads, all the layers should be in the layerInfos Array. Each LayerInfo includes the name and id which you can then use to build the url for a FeatureLayer inside either the same MapServer or the corresponding FeatureServer. http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer.html#layerInfos
... View more
09-10-2010
08:15 AM
|
0
|
0
|
555
|
|
POST
|
The default for logoVisible is true, so you'll need to set it to false sooner than mapLoadComplete. Try MapManager.partAdded().
... View more
09-09-2010
11:56 AM
|
0
|
0
|
1538
|
|
POST
|
They're not static properties, so you'll need to access them on your Map instance.
... View more
09-09-2010
11:36 AM
|
0
|
0
|
1538
|
|
POST
|
In version 2.0 of the API, you should really just hide the ESRI logo and add a new Image to the Map.staticLayer Group. This way there's no conflict. To hide the ESRI logo, set Map.logoVisible to false. Reference: http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/Map.html#staticLayer
... View more
09-09-2010
11:12 AM
|
0
|
0
|
1538
|
|
POST
|
In your gotoMyURL() try: evt.stopImmediatePropagation() instead of: evt.stopPropagation();
... View more
09-09-2010
10:39 AM
|
0
|
0
|
1538
|
|
POST
|
You can call selectFeatures() where the selectionMethod is SELECTION_SUBTRACT. Reference: http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html#selectFeatures()
... View more
09-09-2010
10:31 AM
|
0
|
0
|
610
|
|
POST
|
Here's a product like BlazeDS for .Net: http://www.themidnightcoders.com/products/weborb-for-net/overview.html
... View more
09-08-2010
02:17 PM
|
0
|
0
|
1551
|
|
POST
|
How are you transmitting the points from the server? HTTPService? If you use something like BlazeDS you can use RemoteObject which uses AMF. (There's other solutions for PHP, .Net, etc.) http://opensource.adobe.com/wiki/display/blazeds/BlazeDS/ What kind of symbols are you using? SimpleMarkerSymol without an outline are the fastest.
... View more
09-08-2010
11:52 AM
|
0
|
0
|
1551
|
|
POST
|
This is a AGS 10.0 REST bug. Were you referring to this sample? http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=AttributeInspectorInfoWindowEditable Here's a workaround: private function myFeatureLayer_selectionCompleteHandler(event:FeatureLayerEvent):void
{
// only show infoWindow if a feature was found
if (event.featureLayer.numGraphics > 0)
{
status.text = "Feature selected";
for each (var field:Field in event.featureLayer.layerDetails.fields)
{
if (field.type == Field.TYPE_DATE)
{
for each (var feature:Graphic in event.features)
{
var date:Date = new Date(feature.attributes[field.name]);
if (date.milliseconds == 999)
{
date.milliseconds++; //Add 1ms to date values ending in 999 to workaround REST date bug
feature.attributes[field.name] = date.time;
}
}
}
}
myMap.infoWindow.show(queryMapClick.geometry as MapPoint);
}
else
{
if (!status.text == "Feature deleted.") //avoid showing the alert box, immediately after deleting
{
status.text = "";
Alert.show("Sorry found nothing here...");
}
}
}
... View more
09-08-2010
10:09 AM
|
0
|
0
|
1050
|
|
POST
|
The FeatureLayer in snapshot mode or when using a FeatureCollection is equivalent to using a GraphicsLayer. If you could expose a REST service, you could use the FeatureLayer in onDemand mode so that it would only query and show the points inside the current extent. How many points do you need to show at once? Using a clusterer may be a solution. http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/GraphicsLayer.html#clusterer http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=FeatureLayerClustering
... View more
09-08-2010
09:45 AM
|
0
|
0
|
1551
|
| 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
|