|
POST
|
It will most likely end up in the hands of the Spoon Project. http://www.spoon.as/ They are a solid group of very good talented, experienced flash and flex developers that have already been working on an open source fork of the Flex framework. They are eager to take it on. I don't know if this will impact the ESRI Flex API roadmap. Should make for some interesting discussion at dev summit next year. My interest in Flex development has been waning this year and that is reflected in the direction I have been taking development of upcoming projects in my agency. I would very much like to see Flex thrive as a fully open-sourced project though. Afterall, Flex is how you build AIR apps, and AIR is very much a viable solution for mobile development. So correction. Looks like Flex will go to the Apache foundation and incorporating Spoon contributions. http://blogs.adobe.com/flex/2011/11/your-questions-about-flex.html
... View more
11-15-2011
01:39 PM
|
0
|
0
|
353
|
|
POST
|
Ok, this seems to work in all situations I have tried it in to remove the glow filter.
private function removeGlow(fl:FeatureLayer):void
{
var len:int = fl.numChildren;
var dObj:DisplayObject;
for ( var i:int = 0; i < len; i++ ) {
dObj = fl.getChildAt(i);
if (dObj.filters) {
dObj.filters = [];
}
}
}
It has slightly helped with performance, so I'll squeeze as much as I can out of it.
... View more
10-19-2011
09:26 AM
|
0
|
0
|
269
|
|
POST
|
I don't see this as an option in the API docs, so I was trying to extend FeatureLayer and override updateLayers() or something to try and remove the GlowFilter, but can't figure it out. I need to optimize selecting thousands of points and lines, and I think the added GlowFilter is adding my overhead. Clustering isn't an option for the data type being represented. Any tips? I could go back to using a GraphicLayer, but I'd need to do a lot of rewrites to replicate the relationship queries I am doing.
... View more
10-19-2011
08:42 AM
|
0
|
1
|
491
|
|
POST
|
You can access the Shape.len field, but you'll need to use bracket notation since the "." won't translate over in code. I tested this and it works with my SDE data.
var query:Query = new Query();
query.outFields = ["*"];
query.returnGeometry = false;
query.where = "AssetID <> ' '";
var queryTask:QueryTask = new QueryTask("http://testgis/ArcGIS/rest/services/SewerSystemTest/MapServer/5");
queryTask.execute(query, new mx.rpc.Responder(function(features:FeatureSet):void {
for each(var o:Object in features.attributes)
{
trace(o["Shape.len"]);
}
}, function(fault:FaultEvent):void{ trace("error", fault.message); }));
... View more
10-03-2011
12:12 PM
|
0
|
0
|
546
|
|
POST
|
It will support plugins in desktop mode, just not browser mode. So no different than current iPads that do not support Flash.
... View more
09-16-2011
12:54 PM
|
0
|
0
|
414
|
|
POST
|
Nevermind. I found it. It's an Enum in FileGDBCore.h
enum FieldType
{
fieldTypeSmallInteger = 0,
fieldTypeInteger = 1,
fieldTypeSingle = 2,
fieldTypeDouble = 3,
fieldTypeString = 4,
fieldTypeDate = 5,
fieldTypeOID = 6,
fieldTypeGeometry = 7,
fieldTypeBlob = 8,
fieldTypeRaster = 9,
fieldTypeGUID = 10,
fieldTypeGlobalID = 11,
fieldTypeXML = 12,
};
Noob mistake.
... View more
08-31-2011
07:00 PM
|
0
|
0
|
422
|
|
POST
|
Maybe I'm looking at this wrong, but I have looked over the docs and can't find any further info on FieldType, except that it's a parameter to FieldInfo::GetFieldType().
FieldInfo fInfo;
table.GetFieldInformation(fInfo);
int count = 0;
fInfo.GetFieldCount(count);
wstring fieldNames = L"";
for (int x = 0; x < count; x++)
{
wstring f = L"";
fInfo.GetFieldName(x, f);
fieldNames.append(f);
FieldType fType;
fInfo.GetFieldType(x, fType);
fieldNames.append(L", ");
}
Basically, what I'm trying to do is get the names of each field and the field type. When I test something like this out in a sample app, I can do
wcout << fType << endl;
I get an integer, which I am guessing coincides with an something like esriIntegerType, but are there methods to FieldType, like toString() or something to get that? I'm new to C++ and I'm just a little confused on how to use this. Thanks.
... View more
08-31-2011
06:36 PM
|
0
|
1
|
2806
|
|
POST
|
The loader itself is not the actual source, the loader will go outside your app and grab your data for you. You'll want to add an event listener to the contentLoaderInfo of the loader so that when the data is returned and ready, then you can use it as a source for the PictureMarkerSymbol. So something like this
loadThumbnail.contentLoaderInfo.addEventListener(Event.COMPLETE,
function(e:Event):void {
thisGraphic.symbol=new PictureMarkerSymbol(e.currentTarget.content);
});
I haven't tried this approach to load a PictureMarkerSymbol, but I think it would work.
... View more
08-11-2011
05:47 AM
|
0
|
0
|
291
|
|
POST
|
The simpler might just be to use the SOE library to convert the features to JSON via JsonObject and that JSON can be parsed in Flex via FeatureSet.fromJSON() http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/FeatureSet.html#fromJSON() If you are using .NET, I've made some .NET objects that will serialze to their Flex counterparts, but I have not tried them with a SOE, only in a pure serverside AO RemoteObjects service. https://github.com/odoe/esri_dotnet_flex
... View more
08-08-2011
12:47 PM
|
0
|
0
|
315
|
|
POST
|
If you set featureLayer.useAMF = false, do you still get the same request string and problems? I believe if you do, the request will be ?f=json instead.
... View more
08-05-2011
10:22 AM
|
0
|
0
|
478
|
|
POST
|
I'll chime in with my experience. Flex API: - cross browser compatible, as in will function the same regardless of browser used. - can handle large amounts of data better. When it comes to drawing of graphics on the screen or loading RemoteObjects, Flex can usually handle these items better than JavaScript. - coming from Web ADF as you said, AS3 is much more familiar as language. Compiled and probably easier to learn coming from C#/VB. JavaScript API: - simplicity is key. Will run fine in most browsers, but can require some massaging if you want it to look/function same across all/many. IE6 will usually melt. - if you are looking at mobile focused sites/apps, I think the JS API wins here. Will run pretty much the same across all phones/tablets, if you are mindful of some CSS3 funkiness. - JSON is fast and lightweight. If you are pulling simple data requests, the dojo library the API is built on is built for data. That's in my experience and opinion and could be completely off-base from what other people are doing. You should also take a look at this recent posting from ESRI UC. Which API should I use: JavaScript, Flex, or Silverlight?
... View more
08-03-2011
08:19 AM
|
0
|
0
|
292
|
|
POST
|
I tried loading the 64-bit version in xcode 4 on a Mac OS 10.6 (Snow Leopard), but I'm getting multiple "semantic issue" and "parse issue" errors, most of which seem to relate to dllimport. I've attached a screenshot of my header/library search paths. Is there a linker flag I should be using? I also can't seem to be able to build the samples either. I get the following errors when running make after adding $LD_LIBRARY_PATH to my profile odoemac:samples odoe$ make
make -C Domains
g++ -fPIC -O2 -m32 -W -fexceptions -fno-inline -D_CONSOLE -DUNICODE -D_UNICODE -DLINUX -D_REENTRANT -DFILEGDB_API -D__USE_FILE_OFFSET64 -DLINUX_FILEGDB_API -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I../../include -I. -c Domains.cpp
In file included from ../../include/FileGDBAPI.h:25,
from Domains.cpp:25:
../../include/GeodatabaseManagement.h:56: error: expected constructor, destructor, or type conversion before ???(??? token
../../include/GeodatabaseManagement.h:64: error: expected constructor, destructor, or type conversion before ???(??? token
../../include/GeodatabaseManagement.h:69: error: expected constructor, destructor, or type conversion before ???(??? token
../../include/GeodatabaseManagement.h:77: error: expected constructor, destructor, or type conversion before ???(??? token
In file included from ../../include/FileGDBAPI.h:26,
from Domains.cpp:25:
../../include/Geodatabase.h:55: error: expected initializer before ???Geodatabase???
Domains.cpp:156: error: expected `}' at end of input
make[1]: *** [Domains.o] Error 1
make: *** [Domains] Error 2
Or is Mac dev just a flat out no go? I am not a C++ dev, so maybe there is stuff I am missing, but any help is appreciated, thanks.
... View more
07-30-2011
08:10 PM
|
0
|
3
|
2840
|
|
POST
|
Looks like you may still be using Flex 3, so you would want to review using view states. http://livedocs.adobe.com/flex/3/html/help.html?content=using_states_3.html If you're using Flex 4.X, check this link out http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf63611-7ff1.html Flex 4 states are drastically different than they were in 3.
... View more
07-19-2011
02:04 PM
|
0
|
0
|
926
|
|
POST
|
I only use jQuery for DOM tasks, such as an Accordian or any small animations. I have had browser/performance issues using dojo dijits such as Accordian/Validator with Internet Explorer (default in office is IE8).
... View more
07-12-2011
09:23 AM
|
0
|
0
|
518
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 1 | 12-09-2025 08:20 AM | |
| 1 | 11-13-2025 03:13 PM | |
| 2 | 11-06-2025 11:10 AM | |
| 3 | 11-05-2025 02:54 PM |
| Online Status |
Offline
|
| Date Last Visited |
12 hours ago
|