0

I have a single static chart (built with ChartJS; it's displayed on a canvas) and I would like to have it as a collapsible control button that could be toggled (just like the map overlay or attribution). I intend to place it under the Zoom buttons.

How do I achieve this?

controls: ol.control.defaults({
      attributionOptions: ({
          collapsible: true
      })
    }).extend([
      new ol.control.OverviewMap(),
    ])

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.