Conflicting dash leaflet assign functions?

Is there a recommended method of using multiple dash_extensions.javascript assign statements in a multi-tab dash leaflet app?
It seems there is a conflict in some cases when adding a new variable name and an assign statement, leading to failure.

Thanks

Hello, self. I put the js functions in a separate js script and included it in the assets folder. Then used dash_extensions.javascript Namespace to access those functions within the python script for the Dash leaflet maps. That seems to correct the problem.

2 Likes