Flex API, Rest Elements 3.3 and the ESRI FLEX Api
I am building a relatively simpe Flex viewer where I want to filter my visible features. Within the Flex API of ESRI Arcgis on the Layer object there is a property: layerDefinitions See: (http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer.html) Link to esri api This property can filter the output of the mapservice, so, that only the requested features are visible. Is there any posibility to have the same for the Rest Elements in combination with the GC Flex Api? Or is this function (filtering on for example OBJECTID) hidden in a different property of the layer object. I want to set the filter client side if possible... and the feature filter has to be visible in the printing of maps.
Thanks in advance. Gerben
0
-
Gerben, Functionality to allow configuration of and programmatic access to the layer definitions on ArcGIS Server layers is currently under development for Geocortex Essentials. The layer definitions will be client-side (affecting maps and queries); as well, they will correctly filter features from printable maps generated from the Essentials viewers. John 0 -
Thank you John, With the FLEX api, i already noticed that i could access the map object with its layers. Then I have access to the ArcGISDynamicMapserviceLayer where the layerdefinitions is hidden :). So now I am able to filter client side. I want to have a filter also in prints, but according to the API this is not really possible. Thanks for your answer. Cheers Gerben, Grontmij 0
Please sign in to leave a comment.
Comments
2 comments