|
POST
|
Jimmy and Jeremy, Here is Mansour's Attribute Clusterer code wrapped into a FlexViewer2.0 widget. Read the readme.txt for instructions.
... View more
09-01-2010
07:43 PM
|
0
|
0
|
1838
|
|
POST
|
YiJia LAI, That is a common error with this forum and zip files when you use IE to download. Try downloading the zip from Firefox or chrome and it will be fine.
... View more
09-01-2010
06:30 PM
|
0
|
0
|
919
|
|
POST
|
Justin, Yep, that makes a big difference. Once you have done your development and testing on your desktop and you are happy then in FlashBuilder you choose from the "project" menu "Export release build" and then you copy the contents of the bin-release folder over to a virtual directory on the server. Quick IIS tutorial: open IIS on the server expand the websites node and right click Default Web Site and choose new Virtual Directory. Click next in the dialog and give it an alias like FlexViewer and click next and browse to the folder that you copied the bin-release folders contents to. Click next and then ensure that Read and Run scripts (such as ASP) are both checked. Click next and then Finish. That's it your ready to run from the server.
... View more
09-01-2010
05:27 PM
|
0
|
0
|
833
|
|
POST
|
Melissa, In your config.xml make this correction. currently it has: config="widgets/LayerListWidget.xml" it should have: config="widgets/LayerList/LayerListWidget.xml"
... View more
09-01-2010
05:14 PM
|
0
|
0
|
2035
|
|
POST
|
Justin, In your number one question don't use localhost spell out your machines name. Number two depends on the version of IIS you are using is this directly on the server that you are developing? Is it Server 2008? or are you on your desktop and using XP?
... View more
09-01-2010
01:04 PM
|
0
|
0
|
2191
|
|
POST
|
Joshua, Try <expression>ADDRESS LIKE '%[value]%'</expression> instead
... View more
09-01-2010
11:44 AM
|
0
|
0
|
659
|
|
POST
|
Jorge, Have you seen the code gallery for docakable and movable widgets for SFV 1.x? http://resources.esri.com/arcgisserver/apis/flex/index.cfm?fa=codeGalleryDetails&scriptID=16726 and here is a link where I took another developers resizable widgets and my movable widgets and combined them http://forums.arcgis.com/threads/1805-Resizable-Widget-Issue
... View more
09-01-2010
11:22 AM
|
0
|
0
|
1773
|
|
POST
|
Justin, OK I see a problem in the url that you are using. http://ipsoddevtst05/ArcGIS/services/cro_08252010/MapServer Should be http://ipsoddevtst05/ArcGIS/rest/services/cro_08252010/MapServer notice the "rest" potion. Flex API uses REST endpoints and not SOAP so you have to specify the rest url. In case you have not done so on that machine ensure you have run the web services post install.
... View more
09-01-2010
11:10 AM
|
0
|
0
|
2191
|
|
POST
|
Jeremy, Try replacing this code which now ignores layer 0 that is your point layer //Legend Addition
protected function initLegend():void
{
legendAC = new ArrayCollection([]);
ParcelData.getAllDetails(new AsyncResponder(allDtlsResult, allDtlsFault,"ParcelData"));
function allDtlsResult(event:AllDetails,lname:String):void
{
for each (var lDetails:LayerDetails in event.layersDetails){
if(lDetails.id > 0){
if(lDetails.drawingInfo){
//Add the layers name
var layName:Object = {
lname: lname,
id: lDetails.id,
otype: "layerName",
label: lDetails.name,
minscale: lDetails.minScale,
maxscale: lDetails.maxScale,
rend: null
}
legendAC.addItem(layName);
if(lDetails.drawingInfo.renderer is com.esri.ags.renderers.UniqueValueRenderer)
{
var uv:UniqueValueRenderer = lDetails.drawingInfo.renderer as UniqueValueRenderer;
for (var i:int=0; i<uv.infos.length; i++)
{
var uvObj:Object = {
lname: lname,
id: lDetails.id,
parentlabel: lDetails.name,
minscale: lDetails.minScale,
maxscale: lDetails.maxScale,
rend: uv.infos
}
legendAC.addItem(uvObj);
}
}
if(lDetails.drawingInfo.renderer is com.esri.ags.renderers.SimpleRenderer)
{
var simObj:Object = {
lname: lname,
id: lDetails.id,
parentlabel: lDetails.name,
minscale: lDetails.minScale,
maxscale: lDetails.maxScale,
rend: lDetails.drawingInfo.renderer
}
legendAC.addItem(simObj);
}
if(lDetails.drawingInfo.renderer is com.esri.ags.renderers.ClassBreaksRenderer)
{
var cb:ClassBreaksRenderer = lDetails.drawingInfo.renderer as ClassBreaksRenderer;
for (var j:int=0; j<cb.infos.length; j++)
{
var cbObj:Object = {
lname: lname,
id: lDetails.id,
parentlabel: lDetails.name,
minscale: lDetails.minScale,
maxscale: lDetails.maxScale,
rend: cb.infos
}
legendAC.addItem(cbObj);
}
}
}
}
}
}
function allDtlsFault(event:FaultEvent):void
{
Alert.show(event.message.toString());
}
}
//End Legend Addition
... View more
09-01-2010
10:16 AM
|
0
|
0
|
3282
|
|
POST
|
Jeremy, OK, do you have the [Embed(source="assets/images/NEW_ITRE_LOGO1.png")]
private var myLogo:Class; near the top of the MapManager.mxml where the Private Var's are located or did you just paste that inside a function (which you can not do)?
... View more
09-01-2010
09:13 AM
|
0
|
0
|
1808
|
|
POST
|
Justin, Do you have IIS installed on this machine? I can take my development machine and disconnect it from the network and have no internet access at all and as long as my FlexViewer is pointing to mapservices that are on my laptops ArcGIS Server than everything is fine.
... View more
09-01-2010
08:44 AM
|
0
|
0
|
2191
|
|
POST
|
Richard, You definently have me confused then as your code snippet above had var queryTask:QueryTask = new QueryTask();
queryTask.url = "http://data.cmap.illinois.gov/ArcGIS/rest/services/Maps/TIP_Test/MapServer/0"; So are you talking about querying a map service layer using the query task or a web service like you began this thread with???
... View more
09-01-2010
08:38 AM
|
0
|
0
|
1979
|
|
POST
|
Jeremy, I am not sure why you are getting this error. When you look at this layer in the REST Service directory for you see the symbology for the point layer displayed?
... View more
09-01-2010
08:33 AM
|
0
|
0
|
3282
|
|
POST
|
Richard, Just change your onXMLResult to function onXMLResult(featureSet:FeatureSet, token:Object = null):void
... View more
09-01-2010
08:12 AM
|
0
|
0
|
1979
|
|
POST
|
Kevin, When you say my custom adobe flex web map do you mean that it is not the sample flex viewer 1.x or the FlexViewer2.0? If so than you have a real issue as the search widget is dependent on the viewers framework and you can not just add it to a custom flex app. There are a couple of non SFV versions of widgets out there here is a link to the non-SFV searchWidget. http://www.arcgis.com/home/item.html?id=2d2ccae108b74b1ba8968e21c730bdb4
... View more
09-01-2010
06:42 AM
|
0
|
0
|
1887
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 04-14-2020 11:36 AM | |
| 17 | 05-17-2021 01:51 PM | |
| 1 | 07-06-2020 05:32 AM | |
| 1 | 07-10-2018 05:49 AM | |
| 9 | 01-28-2022 10:58 AM |
| Online Status |
Offline
|
| Date Last Visited |
06-08-2026
06:27 AM
|