You are here: > ESRI Forums > arcgis server forums > Thread Replies

ArcGIS Server Forums

ArcGIS API for Flex forum

A FLEX API Capability Question !!   Noureddine El-zaatari Oct 25, 2008
Re: A FLEX API Capability Question !!   Tom Schuller Oct 25, 2008
Re: A FLEX API Capability Question !!   Noureddine El-zaatari Oct 25, 2008
Re: A FLEX API Capability Question !!   Tom Schuller Oct 25, 2008
Re: A FLEX API Capability Question !!   Noureddine El-zaatari Nov 03, 2008
Re: A FLEX API Capability Question !!   Tom Schuller Nov 03, 2008
Re: A FLEX API Capability Question !!   Noureddine El-zaatari Nov 05, 2008
Report Inappropriate Content • Top • Print • This Forum is closed for replies.    
Subject A FLEX API Capability Question !! 
Author Noureddine El-zaatari 
Date Oct 25, 2008 
Message im migrating an application that was developed with ADF 9.2, most of the functionalities can be achieved with the FLEX API something, im changing the symbology in of the layers to unique value renderer and piechart renderer, looking at the samples, i didn't notice any stuff like that, is there a way to achieve this, in my old project im using a COM Utility to that, can i call that from flex,

thanx for any suggestions or ideas 
  Regards,

Noureddine El-Zaatari
(ESRI Kuwait) - Openware

http://www.arcgisserverblog.com/2008/12/arcgis-server-applications.html ->ShowCase

http://www.facebook.com/group.php?gid=2334494455 <- Facebook ArcGIS Group 
   
Report Inappropriate Content • Top • Print • This Forum is closed for replies.    
Subject Re: A FLEX API Capability Question !! 
Author Tom Schuller 
Date Oct 25, 2008 
Message Hy,
changing the symbology of your mapservices layers isn't supported in the REST-Api, so it's not possible to do it directly in the FlexAPI.

A workaround would be to work with a newly created graphics-layer filled up with the mapserver-layers data.
In this graphics-layer, you can change your symbology.

Tom 
  Schuller Tom (Luxembourg/Europe)
Java/Flex developer http://icewebadf.sourceforge.net

 
   
Report Inappropriate Content • Top • Print • This Forum is closed for replies.    
Subject Re: A FLEX API Capability Question !! 
Author Noureddine El-zaatari 
Date Oct 25, 2008 
Message can you explain more, im not using any graphics layers to change the symbology, what im doing is applying the new symbology with a COM utility,

i would appreciate if u can explain more 
  Regards,

Noureddine El-Zaatari
(ESRI Kuwait) - Openware

http://www.arcgisserverblog.com/2008/12/arcgis-server-applications.html ->ShowCase

http://www.facebook.com/group.php?gid=2334494455 <- Facebook ArcGIS Group 
   
Report Inappropriate Content • Top • Print • This Forum is closed for replies.    
Subject Re: A FLEX API Capability Question !! 
Author Tom Schuller 
Date Oct 25, 2008 
Message Hy,
The ArcGIS Server REST API adheres to REST Web service characteristics. ArcGIS Server services are exposed as resources for stateless interaction.

This means that the FlexAPI-MapService-Layers can only consume stateless mapservices.

While your .Net/COM developments can consume statefull mapservices, you can change their symbology.

My workaround for modifying the symbology in Flex is:
1) make a query to your mapservice toget all your features
2) put these feature on your own GraphicsLayer provided with the Esri-Flex-Api. You can define your own Symbology for each feature (query result)

A very close example to this can be found at:
http://resources.esri.com/help/9.3/arcgisserver/apis/flex/samples/index.html

Check the sample: Graphics/Select graphics within extent


Tom 
  Schuller Tom (Luxembourg/Europe)
Java/Flex developer http://icewebadf.sourceforge.net

 
   
Report Inappropriate Content • Top • Print • This Forum is closed for replies.    
Subject Re: A FLEX API Capability Question !! 
Author Noureddine El-zaatari 
Date Nov 03, 2008 
Message how can i apply change the symbology of the layer,,, im doing this in WEB ADF using ArcObject API ? can i reach that in flex or its not yet possible ??

thank you 
  Regards,

Noureddine El-Zaatari
(ESRI Kuwait) - Openware

http://www.arcgisserverblog.com/2008/12/arcgis-server-applications.html ->ShowCase

http://www.facebook.com/group.php?gid=2334494455 <- Facebook ArcGIS Group 
   
Report Inappropriate Content • Top • Print • This Forum is closed for replies.    
Subject Re: A FLEX API Capability Question !! 
Author Tom Schuller 
Date Nov 03, 2008 
Message Hy,
No it's not possble to apply a symbology change for a mapservice layer in Flex.

You must to a workaround with an own created Flex-GraphicsLayer. See examnple above.

Tom 
  Schuller Tom (Luxembourg/Europe)
Java/Flex developer http://icewebadf.sourceforge.net

 
   
Report Inappropriate Content • Top • Print • This Forum is closed for replies.    
Subject Re: A FLEX API Capability Question !! 
Author Noureddine El-zaatari 
Date Nov 05, 2008 
Message thanks for ur response anyway 
  Regards,

Noureddine El-Zaatari
(ESRI Kuwait) - Openware

http://www.arcgisserverblog.com/2008/12/arcgis-server-applications.html ->ShowCase

http://www.facebook.com/group.php?gid=2334494455 <- Facebook ArcGIS Group