Is there any type of event that I can use to filter certain shapes at databind time? It would be something close to the shapeStyleSelector except that I can tell the event not to render that particular shape. For example if I had a US States shapefile and only wanted to render the State of Georgia, assuming that my shape dbf had the fields to denote this at bind time ie shape.fields.item["STATE"]
Hi Graham, thanks for the reply. Without divulging specifics of the product specs which is still under development, I will use a general fictitious scenario describing why I need to filter out shapes - using a US Map file provided by an outside source (US government), I want map out the shapes of only the states I wish to evaluate from some user filter criteria. Within those selected states, I want to "drill down" and look at the counties of say 1 of these states and draw those county shapes. Certain counties would be filled in a color. Its all interactive and the "colors" of these counties can change over time.
Note:You do have some events that fire at binding time, it is the filtering out of shapes that could use some smoothing over, which we will handle as part of that PI. Please note though, that unless you really need to filter out shapes based on runtime conditions you are better off filtering the shapefile instead, to prevent sending extra data over the wire, and extra processing during the file load.
Hi Chris,
After some research, the ability filter shape objects at databind time has been determined to be a new product idea.
Your reference number for this product idea is #13010046.
I have created a private support case for you for this product idea to send your your product idea details.
Thank you Chris!
This is an initial update to let you know that I have received your inquiry. I will begin looking into this issue and will follow-up with you on the forum thread on Thursday.