|
POST
|
Binding on read-only properties will only trigger if you tell it what event to watch for and you dispatch that event. This is an example of the metadata you'd add to each property: [Bindable(event="fooChanged")] It may be easier to just make your properties read/write.
... View more
05-27-2010
01:57 PM
|
0
|
0
|
250
|
|
POST
|
If you go to your query page, like this one: http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Portland/ESRI_LandBase_WebMercator/MapServer/1/query and in the Where field, enter "1=1" and set Return Geometry to No, do you get more than 500 results? If not, you may need to contact ESRI support at http://support.esri.com
... View more
05-27-2010
01:50 PM
|
0
|
0
|
494
|
|
POST
|
Sounds like you're running into this: http://forums.arcgis.com/threads/4112-How-can-I-get-more-than-500-records-from-a-query See Tom's post.
... View more
05-26-2010
02:08 PM
|
0
|
0
|
494
|
|
POST
|
You don't need to use the instance you create in the main app. If you create it there, the class definition won't be loaded by each module. It's similar to class loader issues in Java if you're familiar with that. Here's a good reference: http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-799a.html#WS2db454920e96a9e51e63e3d11c0bf69084-7d0f
... View more
05-26-2010
07:54 AM
|
0
|
0
|
518
|
|
POST
|
The graphicProvider is an ArrayCollection so you can turn it into an Array like this: graphicParcels = ArrayCollection(myGraphicsLayer.graphicProvider).toArray(); http://resources.esri.com/help/9.3/arcgisserver/apis/flex/apiref/com/esri/ags/layers/GraphicsLayer.html#graphicProvider
... View more
05-25-2010
03:00 PM
|
0
|
0
|
369
|
|
POST
|
Here's a couple of changes you can try. 1. Create an instance of QueryTask in index.mxml. This is just so that QueryTask will be in the app's ApplicationDomain, instead of being loaded by each module. 2. Set useAMF to false. Can you let us know if either of these changes fixes this problem?
... View more
05-25-2010
10:26 AM
|
0
|
0
|
518
|
|
POST
|
Yes, see this sample: http://resources.esri.com/help/9.3/arcgisserver/apis/flex/samples/index.html?sample=CustomSR
... View more
05-25-2010
09:05 AM
|
0
|
0
|
241
|
|
POST
|
Try: populateFeatureList(layer,mapLayer as GraphicsLayer);
... View more
05-24-2010
12:04 PM
|
0
|
0
|
235
|
|
POST
|
Are you setting returnGeometry to true? http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/tasks/supportClasses/Query.html#returnGeometry
... View more
05-24-2010
09:00 AM
|
0
|
0
|
834
|
|
POST
|
You can get all the features from the graphicslayer's graphicProvider, which is an ArrayCollection. e.g. new FeatureSet(ArrayCollection(myGL.graphicProvider).toArray())
... View more
05-21-2010
12:25 PM
|
0
|
0
|
834
|
|
POST
|
The crossdoamin.xml file should be on the server you're trying to access. For example, if the url you're calling is: http://server1/foo/service.jsp, then the Flash Player is going to try and load http://server1/crossdomain.xml What is the full error message you're getting? If you use a tool like Charles, Firebug or HttpFox, then you can see what requests are being sent from your browser and look for the crossdomain.xml requests.
... View more
05-21-2010
08:59 AM
|
0
|
0
|
430
|
|
POST
|
You can also use the WebMercatorUtil to convert between WGS84 and Web Mercator: http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/utils/WebMercatorUtil.html
... View more
05-18-2010
03:39 PM
|
0
|
0
|
434
|
|
POST
|
Yes, the Map does dispatch pan and zoom events: http://resources.esri.com/help/9.3/arcgisserver/apis/flex/apiref/com/esri/ags/Map.html#eventSummary I think you may be able to just listen for the extentChange event though and on each extent change, see if the map's extent intersects your layer's extent and if the map's scale is at the scale where you want to show your layer. Depending on these checks, you could change the visibility of your layer vs. the ESRI one.
... View more
05-18-2010
12:53 PM
|
0
|
0
|
754
|
|
POST
|
This sample makes use of the minScale and maxScale properties: http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=AddLODS
... View more
05-18-2010
10:52 AM
|
0
|
0
|
754
|
|
POST
|
Are you running it using a http://... url? You may need to contact ESRI Support to get more help with the details required to configure this. http://support.esri.com
... View more
05-18-2010
10:48 AM
|
0
|
0
|
1475
|
| 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
|