|
POST
|
A quick look at the description of the Shapefile Overlay description says it uses some of this library http://code.google.com/p/vanrijkom-flashlibs/wiki/SHP and Mansour Raad's post here http://thunderheadxpler.blogspot.com/2008/12/shapefile-viewer.html The latest comments also state the file has been updated to include the DBF library needed to show attributes, so you may want to try downloading it again. Looks he compiled them into a nice .swc already. The source should be the same as here http://vanrijkom-flashlibs.googlecode.com/svn/trunk/org/vanrijkom/dbf/ If you check out the example Mansour provides, he also uses that DBF library from the same author to show the attribute data. Unforunately, I don't know of a way to read a .lyr file and parse it in Flex. I don't know enough about the internals of the file for that.
... View more
07-15-2010
05:59 AM
|
0
|
0
|
1347
|
|
POST
|
Try adding the objects to map.staticLayer map.staticLayer.addElement(component) I show an example here adding lat/long coordinates http://odoe.net/blog/?p=67 The docs for Map state, "StaticLayer is useful for adding legends, logos and other items that should not be moved when the map is panned or zoomed." That should work.
... View more
07-15-2010
05:42 AM
|
0
|
0
|
309
|
|
POST
|
I can reproduce this, but in my case the memory is freed up after a few seconds. Turning a Dynamic Map Service visbility from false to true does add about 4MB of load to the memory. But like I said, when I monitor my app, it clears up after a few seconds. I imagine it has to do with Flash reloading the cached tiles from browser memory, but that's just a guess. Flash Garbage collection can be a bit tricky, you can never really determine when it will happen, you can't force it in a production environment. Best you can do is make sure you remove listeners and unused objects and cross your fingers. 😛
... View more
07-13-2010
01:01 PM
|
0
|
0
|
499
|
|
POST
|
For the FlexViewer2? I'm not a SFV user, but you could use a List with an ItemRenderer to display the RadioButton. Have the selected value of the RadioButton bind to the Layer.visible property. That would be a quick and dirty way of doing it.
... View more
07-12-2010
02:45 PM
|
0
|
0
|
456
|
|
POST
|
Hmm, not sure about that one. The Map Service REST would pull the geometries for you. If you are not using an MXD, you'd need to write a Web Service of some sort using ArcObjects to get accesss to those geometries. Haven't tried that specific scenario though.
... View more
07-12-2010
07:24 AM
|
0
|
0
|
769
|
|
POST
|
Depending on the size of the dataset you want to bring over, you could use the query tool on the REST page to get the data in JSON format and then use FeatureSet.convertFromJSON method to add to your application. http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/FeatureSet.html#convertFromJSON() I do this for some small sets of data for testing purposes. It won't be feasible for a large dataset though, just too much info to parse.
... View more
07-11-2010
06:47 AM
|
0
|
0
|
769
|
|
POST
|
Center and scale works well, but I use this function after determining it's a single point. You could also have it check geometry type in the function to be safe if you want.
public static function getMapPointExtent(geometry:Geometry):Extent {
if (geometry) {
var mapPoint:MapPoint = geometry as MapPoint;
return new Extent(mapPoint.x, mapPoint.y, mapPoint.x, mapPoint.y, mapPoint.spatialReference);
}
else
return new Extent();
}
... View more
07-08-2010
08:19 AM
|
0
|
0
|
840
|
|
POST
|
You can't connect directly SQL Server in Flex, but you can use a proxy such as HTTPService or WebService written in your server side language of choice. This link should have a good example in .NET http://codeexpander.blogspot.com/2009/10/connecting-flex-to-sql-server.html You can then send requests to this service from your Flex application for your data.
... View more
07-08-2010
08:06 AM
|
0
|
0
|
423
|
|
POST
|
I get the same error in IE7, FP 10,1,53,64 But not in Chrome with FP 10,0,45,2 Nice work though.
... View more
07-06-2010
01:35 PM
|
0
|
0
|
1905
|
|
POST
|
Could you add a "save me" button or something when logging in? I get logged out every time I close my browser. Not a big deal and all, but sometimes after logging in when hitting reply will take me to the main forum page.
... View more
07-01-2010
10:22 AM
|
0
|
0
|
1011
|
|
POST
|
I have to say, I'm glad to see the flip effects replaced with a crossfade. Looks and feels a lot how I build my apps now. Nice work. I also think a a forum for the API and Viewer would make things easier for people to navigate.
... View more
06-30-2010
11:49 AM
|
0
|
0
|
1194
|
|
POST
|
Same issue here. Never noticed before, but only happens in IE7 with Flash 10,1,53,64 debugger. Works as expected in my Chrome install with Flash 10,0,45,2 installed Only 2 setups I can test at the moment, so can't narrow it to browser or flash installs. But in any 2.0 app, final or beta, I get no mouse cursor in the Context Menu. In the example you linked, if I am in Zoom Navigation, I do get a mouse cursor.
... View more
06-29-2010
11:57 AM
|
0
|
0
|
1116
|
|
POST
|
Liking the new Logo! But can I move it? The Y position is slightly greater than before and doesn't quite fit my layout. It looks too nice to disable 😉
... View more
06-29-2010
09:35 AM
|
0
|
0
|
752
|
|
POST
|
That was the right direction. Setting the library project to external caused some other issues, but setting it to an RSL fixed it right up. Thanks for another solid release!
... View more
06-29-2010
09:26 AM
|
0
|
0
|
570
|
|
POST
|
I have an odd error creeping up on me with the 2.0 final release. I have a component library that I use with my projects that's been updated with the 2.0 API. When I add this library project via FlashBuilder, I get an error in the SkinnableComponent.as line 632 in my main Application. I tried adding this Library Project to some samples and added a custom "MapLayerList" component and got the same error, but when added as a compiled swc, works fine. Error: Skin for FeatureLayer_Search.ApplicationSkin2._ApplicationSkin_Group1.contentGroup.myMap.StaticLayer11.ScaleBar66 cannot be found. I don't even need to add a component to the project, just add the Library project. So, I'm not sure why the issue persists. I had this problem with the beta 2, but it went away with the beta 3, so I figured it was a byproduct of some fixes/changes you made. If I compile my Library project to a swc and use it, everything works fine. So, I'm not sure if this an issue with FlashBuilder or not. I have not had a chance to test it in FDT or IntelliJ yet. Is anyone able to replicate this problem in FlashBuilder? Here is an example of how I use Map in custom components MapLayerList http://gist.github.com/457363 It's not a deal breaker, but it's nice to modify my Library and see instant results without constant recompiles.
... View more
06-29-2010
07:30 AM
|
0
|
2
|
872
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Wednesday | |
| 1 | 3 weeks ago | |
| 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 |
10 hours ago
|