POST
|
Hi Rory, Would you mind sharing the code snippet for what you are doing in the edit mode and toggling between edit and non-edit mode. Would be easier for me to debug. Also, when you click on the 'delete' button on the AttributeInspector, I would suggest to close the InfoWindow(map.infoWindow.hide()) right away.
... View more
08-14-2013
11:52 AM
|
0
|
0
|
296
|
POST
|
Could you try the 3.3 version of the API and see if you are still seeing the same behavior. There might be a bug in 3.4 which could force the kind of behavior being noticed.
... View more
08-12-2013
10:00 AM
|
0
|
0
|
296
|
POST
|
Hi Matt, Looks like when you switch to the edit mode, it still shows the pop-up window. You can set this property https://developers.arcgis.com/en/flex/api-reference/com/esri/ags/Map.html#infoWindowRenderersEnabled to false for the edit mode and toggle it when switching between the modes. Hope that helps.
... View more
07-26-2013
10:59 AM
|
0
|
0
|
184
|
POST
|
Hi David, You can simply do something like this: public function dataDownload():void { var featureCollection:ArrayCollection = myFeatureLayer.graphicProvider as ArrayCollection; var exportSet:Array = []; for (var i:int=0; i < featureCollection.length; i++){ var graphic:Graphic = featureCollection.getItemAt(i) as Graphic; if (myMap.extent.intersects(graphic.geometry)) { exportSet.push(graphic); } } OR for each (var graphic:Graphic in featureCollection){ if (myMap.extent.intersects(graphic.geometry)) { exportSet.push(graphic); } } ssoDataGrid.dataProvider = new ArrayList(exportSet); }
... View more
06-28-2013
09:15 AM
|
0
|
0
|
126
|
POST
|
Hi Thomas, Would it be possible for you to share the layer(s) used in the scenario described. If they are not public, then sharing the JSON metadata response of the layer infos would be helpful.
... View more
06-24-2013
12:59 PM
|
0
|
0
|
639
|
POST
|
There seems to be an issue with the Flex API draw tool (or I'm doing something wrong). If you use this sample: http://resources.arcgis.com/en/help/flex-api/samples/index.html#/Use_the_DrawTool/01nq00000065000000/ And use MULTIPOINT instead of point, it doesn't work the way it should. It just keeps adding new points. If you switch back to the Flex API 3.0 library it works correctly and adds points each time you click, just doesn't work correctly with Flex API 3.3 library? Yes we have recognized this being an issue when using Multipoint drawing. This will be fixed for version 3.4 of the api.
... View more
06-20-2013
02:54 PM
|
0
|
0
|
192
|
POST
|
2. Map on print: The include map on print generates an undefines error at runtime, we called the function from both the creation complete and directionsComplete directionsID.includeMapOnPrint = true; - undefined at com.esri.ags.components:irections/set includeMapOnPrint() at com.esri.ags.components:irections/set _80971302includeMapOnPrint() There is an issue in the 3.3 version which makes this property unusable. As a workaround you can create your own copy of Directions component (override the getters and setters for includeMapOnPrint) and then use that class. Something like:
package
{
import com.esri.ags.components.Directions;
public class MyDirectionsComponent extends Directions
{
public function MyDirectionsComponent()
{
super();
}
private var _includeMapOnPrint:Boolean;
/**
* @override
*/
override public function get includeMapOnPrint():Boolean
{
return _includeMapOnPrint;
}
/**
* @override
*/
override public function set includeMapOnPrint(value:Boolean):void
{
_includeMapOnPrint = value;
}
}
}
4. iPhone Reverse Directions button: We are using FB 4.7 to compile an iPhone and iPad app. The iPad version works just fine in regards to this issue, only the iPhone suffers from it. The reverse directions button's hit area covers over the two arrows used to graphically select a start and endpoints. You possibly cannot click any of the two, unless you click add destination, which then removes the reverse directions button. How can we make this button invisible if that is the only solution? 5. Styling the component: We really would find it very handy if someone can share how to style any of the components. You see in the iPhone snapshot above, the "get directions" button text is huge. You should be able to achieve both by creating a custom skin.
... View more
05-09-2013
03:35 PM
|
0
|
0
|
325
|
POST
|
There isn't a direct way of hiding the table options button except to create a custom skin for the AttributeTable component. The easiest thing to do would be to copy the existing skin(under the skins folder) and remove the following code:
<s:Button id="tableOptions"
click="tableOptions_clickHandler(event)"
label="{resourceManager.getString('ESRIMessages', 'attributeTableOptions')}"
skinClass="com.esri.ags.skins.AttributeTableOptionsButtonSkin"/>
Make sure to remove any references to tableOptions.
... View more
05-07-2013
02:11 PM
|
0
|
0
|
114
|
POST
|
I don't think so that is possible right now unless you create a custom renderer (custom skin) for the Geocoder component. The behavior comes in from the API component. The results are shown as : {value} - {layerName} - {mapServiceName} where layername is the layer which contains the result If you look at: http://resources.arcgis.com/en/help/flex-api/apiref/com/esri/ags/components/supportClasses/GeocoderMapService.html#name, the name property is a utility property to show a different label other than the map service layer name, it does not affect the layerName.
... View more
05-03-2013
08:53 AM
|
0
|
0
|
198
|
POST
|
Refer to: http://forums.arcgis.com/threads/83088-Related-Record-Foreign-Key
... View more
05-02-2013
03:05 PM
|
0
|
0
|
157
|
POST
|
I have already done so. So now the primary key in the feature class matches the foreign key field name in the related tables and it is now working correctly. You shouldn't be required to do it. This would be a workaround for now. I will put in a fix for the next version.
... View more
05-02-2013
01:32 PM
|
0
|
0
|
379
|
POST
|
Would it be possible to share the JSON for relationships for both the layer and its related table. I looked into the code and the RelationshipInspector does try to populate the foreign key but I think right now it assumes the key field name to be the same in both the layer and related table. My guess is that in this case the two fields are different.
... View more
05-02-2013
10:07 AM
|
0
|
0
|
379
|
POST
|
You need to add:
import com.esri.ags.layers.ArcGISDynamicMapServiceLayer;
If you are using an IDE(e.g Flash Builder), you can use short-cuts to automatically add the import statements. In this case Ctrl+Spacebar would help in code-assist(will show a menu, picking from the menu would add the corresponding import statement) You can refer to: http://www.adobe.com/devnet/flex/articles/flashbuilder_shortcuts_tips.html for details.
... View more
04-30-2013
02:13 PM
|
0
|
0
|
273
|
POST
|
Can you try:
private function setFloorLayerDef(floor:String) : void
{
for (var i:int = 0; i < opLayers.length; i++){
trace(opLayers.label);
if (opLayers.label == "Category Codes" || opLayers.label == "Organizations")
{
trace("set Floor " + opLayers.label);
var layer:Layer = opLayers.layer;
if (layer is ArcGISDynamicMapServiceLayer)
{
ArcGISDynamicMapServiceLayer(layer).layerDefinitions = [null, null, null, null, "Floor = '" + floor + "'", "Floor = '" + floor + "'", null, null, null, null, null, null, null, null,];
}
trace(opLayers.layerDefinitions);
//identifyParams.layerIds = i;
//ViewerContainer.getInstance().mapManager.map.getLayer(opLayers.label).visible = true;
}
}
}
... View more
04-30-2013
11:58 AM
|
0
|
0
|
273
|
POST
|
Hey Kenny, If you look under the 'Table Options' menu, there is a way to export the data to a CSV file. If there are any features selected it would only export those, otherwise the entire feature set.
... View more
04-23-2013
02:23 PM
|
0
|
0
|
204
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|