|
POST
|
Jon, WMS uses strings for layer names instead of numbers.
... View more
02-16-2011
10:52 AM
|
0
|
0
|
1523
|
|
POST
|
You can set the FeatureLayer's definitionExpression: See: http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html#definitionExpression
... View more
02-16-2011
10:49 AM
|
0
|
0
|
594
|
|
POST
|
Eric, The url should not include the service, version or request parameters. You could configure it more like this: <layer label="Counties"
type="wms"
visible="false"
visiblelayers="StockportWatershed:CountyBoundaries"
url="http://donmeltz.dyndns.org:8080/geoserver/wms"
skipgetcapabilities="true"
version="1.1.1"/> If you try adding this to the default config.xml it still won't work though because the server returns this error "Error occurred decoding the espg code EPSG:102100". You can see this if you use a tool like HttpFox or Fiddler. This error means that the service doesn't support the 102100 spatial reference (SR). The capabilities show that it does support the equivalent SR of 900913 as well as 4326 and 2260. In the next release you'll be able to configure the layer to use it's own SR instead of using the map's SR so then you could set it to use 900913. In the current 2.2 release you'll need to change your map to only use 4326 or 2260 layers if you want to use this WMS service.
... View more
02-16-2011
08:27 AM
|
0
|
0
|
1523
|
|
POST
|
You can add a label to the layerlist. e.g. <layerlist label="Layers"> Doc: http://help.arcgis.com/en/webapps/flexviewer/help/widgets/mapswitcher_widget.htm
... View more
02-15-2011
08:06 AM
|
0
|
0
|
527
|
|
POST
|
You can call the GeometryService.simplify() method to correct for this. Sample: http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=SelectParcels Doc: http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/tasks/GeometryService.html#simplify()
... View more
02-14-2011
01:02 PM
|
0
|
0
|
517
|
|
POST
|
The user can press the arrow keys to pan while they're moving the Graphic. You could try calling map.panX() methods when the user gets close to an edge. We'll also look at supporting this in the EditTool in a future release. http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/tools/EditTool.html
... View more
02-11-2011
10:39 AM
|
0
|
0
|
805
|
|
POST
|
The com.esri.viewer.components.toc.TOC code in the Flex Viewer source map help or the source to this widget: http://www.arcgis.com/home/item.html?id=e2cb71d5c04d40d19e9f945ae0db7ce8 The Viewer source code can be downloaded from: http://help.arcgis.com/en/webapps/flexviewer/
... View more
02-10-2011
12:09 PM
|
0
|
0
|
479
|
|
POST
|
One option may be to add the extra parameters to the url you set on the WMSLayer since extra params are passed on in the requests the WMSLayer makes to the server. e.g. http://sampleserver1.arcgisonline.com/arcgis/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer?foo=bar
... View more
02-10-2011
11:50 AM
|
0
|
0
|
1027
|
|
POST
|
By default you should be able to pan the map when clicking on a marker unless you've added some mouse listeners to the Graphic. You can still pan if you set this to false: http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/Graphic.html#checkForMouseListeners
... View more
02-10-2011
11:42 AM
|
0
|
0
|
805
|
|
POST
|
Are you using a HttpService or a QueryTask? By default, the Flex SDK and the ArcGIS Flex API don't timeout unless the browser itself times out. http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/rpc/http/HTTPService.html#requestTimeout http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/tasks/BaseTask.html#requestTimeout
... View more
02-09-2011
10:38 AM
|
0
|
0
|
735
|
|
POST
|
Maybe FindTask is a better fit: http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=FindTask
... View more
02-08-2011
11:05 AM
|
0
|
0
|
824
|
|
POST
|
See the QueryTask samples at: http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=QueryTask_ZoomInResults (Note: This is the 2.2 API.)
... View more
02-08-2011
09:38 AM
|
0
|
0
|
824
|
|
POST
|
Since a Graphic is a UIComponent you may need to create your own DTO. Another option may be to extend Graphic and implement IExternalizable: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/utils/IExternalizable.html
... View more
02-07-2011
02:23 PM
|
0
|
0
|
752
|
|
POST
|
The Map calls it's zoomIn() and zoomOut() methods when the Navigation control dispatches zoomIn/out. You could extend Map and override those methods. e.g. package comp
{
import com.esri.ags.Map;
public class MyMap extends Map
{
override public function zoomIn():void
{
extent = extent.expand(0.75);
}
override public function zoomOut():void
{
extent = extent.expand(1.5);
}
}
}
... View more
02-07-2011
08:58 AM
|
0
|
0
|
396
|
|
POST
|
If I center the map in the extentchangehandler, that event is fired before the baselayer updateEvents and what happens is the featurelayers get centered correctly but the basemap (the esri topo or the bing map shifts). What is your code here? This would be the recommended solution since canceling or changing the zoom is not supported. Another option may be to extend Map and override the extent setter where you could change the extent before calling: super.extent = newExtent;
... View more
02-07-2011
08:42 AM
|
0
|
0
|
1165
|
| 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
|