POST
|
great thanks Robert. I will advise our client it is a bad idea
... View more
11-13-2011
10:14 AM
|
0
|
0
|
401
|
POST
|
thanks Robert My next question then is if I keep all of the 12 layers we want in the same dynamic service but repeat the service 12 times in my code with a different layer visible in each repeat, then will this cause performance issues, i.e. will it be much slower having the map service repeated 12 times than having it only once? I look forward to hearing from you.
... View more
11-10-2011
10:02 AM
|
0
|
0
|
401
|
POST
|
I'm doing something that I would have thought should be quite simple. I have a table of contents with checkboxes to turn layers on and off. All of the layers are coming from only one dynamic map service. I am making the layers visible/invisible by using an ArrayCollection like this: <esri:Map> <esri:ArcGISDynamicMapServiceLayer id="dynamicCensusBlockPoints" url="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer"> <esri:visibleLayers> <mx:ArrayCollection> <mx:Number>0</mx:Number> <!-- Show census block points only --> </mx:ArrayCollection> </esri:visibleLayers> </esri:ArcGISDynamicMapServiceLayer> </esri:Map> (from http://resources.esri.com/help/9.3/arcgisserver/apis/flex/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer.html ) I am populating the ArrayCollection via ActionScript. Everything is working properly, however now I want to add in an opacity slider for each layer. Obviously it is easy enough to change the layer opacity for the whole map service but I want to do it for individual layers. I can create the opacity sliders against each layer easy enough but I can't figure out how to get the opacity property in the ArrayCollection. Worst case scenario, I have two options 1: tell the client they cannot have opacity sliders on the layers, or 2: I repeat the dynamic map service 12 times for each of my 12 layers, set the visible layers for each of the map services to only one for each map service, and apply the opacity to each map service. Surely it can be done easier than this though. Anyone have any ideas?
... View more
11-09-2011
05:22 PM
|
0
|
6
|
3547
|
POST
|
hi Paolo Not sure if you have got your answer yet. I am a Flex newbie but my understanding is your map needs to have an extent defined first before your code will work. Let me know if you need help rhys.donoghue@splicegroup.co.nz Rhys
... View more
06-29-2011
04:10 PM
|
0
|
0
|
115
|
POST
|
very helpful thanks Ken, I have made some progress - will send you a link when to the finished product when I am done
... View more
06-16-2011
02:04 PM
|
0
|
0
|
306
|
POST
|
Yes, that's what I'm after. I don't need the tabs though
... View more
06-16-2011
01:16 PM
|
0
|
0
|
306
|
POST
|
Hi Ken Thanks for that. I have managed to come up with a result but my Flex skills aren't that great. I can get the identify results back into an Array and get the Array items to highlight on the map by using a loop. There are only ever going to be around 1-6 results coming up in the array so a loop is nice and fast. Within the same loop, I want to add a row into the datagrid for each item in the array. This should be easy but I am having difficulty as I am a Flex beginner. Any ideas?
... View more
06-15-2011
09:07 PM
|
0
|
0
|
305
|
POST
|
I have a simple identify task where a user clicks on a map and wants to see the results in a datagrid. The features being identified are address points. When clicking on the map a buffer of say 15 metres will in most cases bring back one result but in some cases there may be multiple results. We want to see all of the results so an info window is not really suitable. I want to use a datagrid to show the results. Has anyone got a sample I can look at?
... View more
06-14-2011
09:40 PM
|
0
|
9
|
899
|
POST
|
I have a web service with over a million rows of data in it (only one column). I want to create an autocomplete search field in Flex that starts working (autocompleting) after the user has typed the first four characters in there. Does anyone have a working example that I can look at?
... View more
05-30-2011
03:56 PM
|
0
|
1
|
682
|
POST
|
I have a scenario where I need to have two basemaps in different projections. I have this working ok. When the user toggles between the two basemaps, an event is fired that gets the extent of the current basemap, reprojects the extent, turns off the visibility of the basemap, turns on the visibility of the new basemap and zooms to the reprojected extent. The functionality doesn't have to be perfect because we are not expecting users to be regularly switching basemaps. It is currently working ok but the only issue I have is the two different basemaps have differents LODs. My colleague showed me that in Silverlight, it doesn't matter if the basemaps have different LODs because Silverlight will interpolate the tiles. Is there functionality in Flex to do this? What I want to do is set the LODs to my main basemap and then when the basemap is changed to Bing satellite imagery, I want the Bing imagery to use my main basemap LODs. Anyone know how to do this?
... View more
05-12-2011
08:55 PM
|
0
|
1
|
580
|
POST
|
Hi Bjorn I got the sample working ok but having a couple of issues. We want to use basemaps with different projections (not at the same time), i.e. WKID 102100 and WKID 2193. I was hoping that when the user changes basemaps, I can get the current basemap extent, re-project it into the new projection and bring up the new basemap in the same location. This is not working. I suspect that when leaving 102100's projection and changing to 2193's projection, the map still thinks it is in 102100. How can I get around this? Do I have to add and remove the basemaps via Actionscript? Rhys
... View more
04-28-2011
03:23 PM
|
0
|
0
|
145
|
POST
|
Champion Bjorn, I should have seen this. It's working now thanks.
... View more
04-28-2011
12:55 PM
|
0
|
0
|
145
|
POST
|
I copied the project and extent sample code from here: http://resources.esri.com/help/9.3/arcgisserver/apis/Flex/samples/index.html?sample=ProjectPoint but get this error: "1119: Access of possibly undefined property graphics through a reference with static type com.esri.ags.event:GeometryServiceEvent" Anyone know why? I suspect it is because one of the namespaces has been deprecated in the example.
... View more
04-27-2011
08:58 PM
|
0
|
3
|
483
|
POST
|
I'm trying to create a tool where the user can add their own text to a map before printing the map. I was thinking of doing this using a resizable and draggable textarea that the user can put anywhere on the map. Anyone know how to do this? I had a look at this http://flexdevtips.blogspot.com/2010/06/flex-4-spark-resizable-controls.html which looked useful but I couldn't get it to work:
... View more
04-20-2011
09:36 PM
|
0
|
1
|
468
|
POST
|
Hi Robert. Thanks heaps for that. It looks like it is working how I want. For one of the layers (e.g. the parcel layer), I want to see up to ten fields. For the other two layers, e.g. hazard zone or whatever, I only want to see one field and the fields have unique names. I can work with this. Thanks again.
... View more
04-11-2011
03:59 PM
|
0
|
0
|
114
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|