I need to display a 5x5 degree pie chart on the flyer map. I can display a pie chart using the large leaflet-dvf library , but I have to provide the radius in a pixel, and so far it is static.
I would like it to be dynamic, so that at any zoom level the pie chart fills a 5x5 square (aka radius = 5x5 degree length).
How to find the length in pixel from the side of the square 5x5 degrees depending on the zoom level?
thank
source
share