Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to implement with python #72

Open
MiguelErtana13 opened this issue May 12, 2021 · 4 comments
Open

How to implement with python #72

MiguelErtana13 opened this issue May 12, 2021 · 4 comments

Comments

@MiguelErtana13
Copy link

Does someone know how to implement this code in my python file?

@MiguelErtana13
Copy link
Author

Im using a flask app

@ikoojoshi
Copy link

Hi Miguel,
So folium is a Python library built on Leaflet.js
While using Folium 2 years back, I faced this same issue - I wanted the grouped layer control feature on python and came across this solution
I was able to find a workaround and implemented this in Python using Folium. You can have a look at the code -
https://github.com/ikoojoshi/Folium-GroupedLayerControl

@MiguelErtana13
Copy link
Author

Hey Ipshita,

Thanks for your help! But im still struggling to combine this with my current flask application. So when I run your code within a flask application I get this:

Schermafbeelding 2021-05-12 om 20 50 24

and when I run the http 5000/ in my browser, the website just flickers...

btw: im still learning and I don't have a lot of experience yet

@MiguelErtana13
Copy link
Author

@ikoojoshi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants