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"]
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 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.