|
POST
|
How can I get at the labeling info that's being exposed via rest? This isn't available in LayerDetails, but you can use the JSONTask to get it as a raw Object. What is your use case for it? http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/tasks/JSONTask.html I'll try to reproduce the issue with toggling the labels on and off. Are you using a public service?
... View more
04-24-2013
01:58 PM
|
0
|
0
|
1619
|
|
POST
|
Here's an example that uses the Fade effect to animate the alpha property of a layer. http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/effects/Fade.html <?xml version="1.0" encoding="utf-8"?> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:esri="http://www.esri.com/2008/ags"> <fx:Script> <![CDATA[ private function visibleCheckBox_clickHandler(event:MouseEvent):void { if (visibleCheckBox.selected) { fadeInEffect.end(); fadeInEffect.play(); } else { fadeOutEffect.end(); fadeOutEffect.play(); } } ]]> </fx:Script> <fx:Declarations> <s:Fade id="fadeInEffect" alphaFrom="0" alphaTo="1" effectEnd="imageLayer.visible = true" target="{imageLayer}"/> <s:Fade id="fadeOutEffect" alphaFrom="1" alphaTo="0" effectEnd="imageLayer.visible = false" target="{imageLayer}"/> </fx:Declarations> <s:controlBarContent> <s:CheckBox id="visibleCheckBox" click="visibleCheckBox_clickHandler(event)" label="Image layer visibility" selected="{imageLayer.visible}"/> </s:controlBarContent> <esri:Map> <esri:extent> <esri:Extent xmin="-13486000" ymin="5713000" xmax="-13200000" ymax="5823000"> <esri:SpatialReference wkid="102100"/> </esri:Extent> </esri:extent> <esri:ArcGISTiledMapServiceLayer url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"/> <esri:ArcGISImageServiceLayer id="imageLayer" noData="0" url="http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Portland/CascadeLandsat/ImageServer"/> </esri:Map> </s:Application>
... View more
04-24-2013
01:32 PM
|
0
|
0
|
882
|
|
POST
|
Try setting it to an invalid layer id like -1 or 9999.
... View more
04-24-2013
11:39 AM
|
0
|
0
|
580
|
|
POST
|
Have you tried a tool like HttpFox or Fiddler to see if the HTTP requests from your browser are going to the proxy?
... View more
04-24-2013
11:35 AM
|
0
|
0
|
345
|
|
POST
|
If you can't change the max size on the server, you can avoid the errors by setting the maxImageHeight/Width properties. See: http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer.html#maxImageHeight If you're using ArcGIS Server 10.1 or greater, these properties will be set automatically.
... View more
04-24-2013
10:36 AM
|
0
|
0
|
443
|
|
POST
|
The fix was specific to polyline popups. Glow filters are still dangerous to use since the Flash Player creates a bitmap internally for them and when you zoom in, the bitmap gets very large causing the Player to use too much memory.
... View more
04-24-2013
09:30 AM
|
0
|
0
|
273
|
|
POST
|
This issue has been fixed in version 3.2: http://support.esri.com/en/bugs/nimbus/TklNMDg4NzE4
... View more
04-24-2013
08:14 AM
|
0
|
0
|
1325
|
|
POST
|
I'd try making your infoWindowRenderer into a separate MXML component that implements the IGraphicRenderer interface. This way you can get to the map and the geometry of the graphic. e.g., var map:Map = graphic.graphicsLayer.map; Also see the zoomToButton_clickHandler code inside PopUpRendererSkin.mxml. This file is inside the skins folder when you download the API zip file. Another option is to use the PopUpRenderer as your infoWindowRenderer, like in this sample: http://resources.arcgis.com/en/help/flex-api/samples/index.html#/Display_popups_programmatically/01nq0000008v000000/ but don't set "showZoomToButton" to false.
... View more
03-28-2013
06:06 PM
|
0
|
0
|
716
|
|
POST
|
I'd set the "signInWindowClass" property after this line: https://github.com/Esri/arcgis-viewer-flex/blob/3.2-src/src/com/esri/viewer/ViewerContainer.mxml#L109 After the user signs in, you can call "findCredential" to get the Credential which includes a "userId" property. http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/components/IdentityManager.html#findCredential()
... View more
03-28-2013
05:29 PM
|
0
|
0
|
618
|
|
POST
|
Try setting the PrintParameters.outSpatialReference property. See: http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/tasks/supportClasses/PrintParameters.html#outSpatialReference
... View more
03-22-2013
02:35 PM
|
0
|
0
|
716
|
|
POST
|
You can only do this in desktop AIR: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/desktop/NativeProcess.html
... View more
03-22-2013
02:30 PM
|
0
|
0
|
306
|
|
POST
|
That's the default for the ArcGISTiledMapServiceLayer.url property: http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/layers/ArcGISTiledMapServiceLayer.html#url Are you setting the url to another value?
... View more
03-22-2013
02:15 PM
|
0
|
0
|
321
|
|
POST
|
You can pass the map as the data parameter to pushView(). See: http://www.realeyes.com/blog/2011/05/16/mobile-flex-view-data/ http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/ViewNavigator.html#pushView()
... View more
03-22-2013
02:09 PM
|
0
|
0
|
836
|
|
POST
|
This should work if the geometry type of the layer is polygon; otherwise you'll need to turn the point into a small extent so that it can search for line or point features that intersect that extent.
... View more
02-09-2013
07:57 AM
|
0
|
0
|
257
|
|
POST
|
Try adding a label:String property to MyInfoWindowRenderer.
... View more
02-09-2013
07:53 AM
|
0
|
0
|
230
|
| 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
|