Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
630
shapefile databind event
posted

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

Parents
No Data
Reply
  • 30692
    Offline posted

    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.

Children