Show and Tell - Dash Leaflet

Following up on this a full year later :slight_smile: I was able to implement this behavior using turf.js and dash-leaflet-extensions.

I created the function responsible for generating the polygons:, loaded the Turf.JS library via the external_scripts parameter of the main Dash app, then referenced my Python function (which is really just a variable holding a giant JS string) in the clusterToLayer parameter.

I hope this helps someone.