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
295
Hide/Show series without removing
posted

Is there a way to hide/show a series without completely removing the series out of the map. I have multiple check boxes filter series displayed on the map. I don't wan't to have to redraw the series everytime it is added or removed.

Parents
  • 1080
    Verified Answer
    Offline posted

    Hi Jason,

    I have created and attached a sample where the series are filtered without modifying the data source. It is achieved by using the visibleFromScale property to hide the series markers. To reflect the changes however we have to call the renderSeries method. Because the series are all rendered into a single canvas, for memory reasons, updating a series will cause them all to repaint. If you have a very large data set and the redrawing is very expensive you can submit a features request for adding another mode that splits the series into individual canvases.

    Submitting your idea will allow you to communicate directly with our product management team, track the progress of your idea at any time, see how many votes it got, read comments from other developers in the community, and see if someone from the product team has additional questions for you.

    Remember when submitting your idea to explain the context in which a feature would be used and why it is needed as well as anything that would prevent you from accomplishing this today. You can even add screenshots to build a stronger case. Remember that for your suggestion to be successful, you need other members of the community to vote for it. You can also link back to this thread for additional details.

    Please let me know if you need any further assistance.

    7367.Sample.zip

Reply Children
No Data