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

Integration with ipyleaflet/folium/ipyopenlayers #3

Open
martinRenou opened this issue Jun 13, 2024 · 3 comments
Open

Integration with ipyleaflet/folium/ipyopenlayers #3

martinRenou opened this issue Jun 13, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@martinRenou
Copy link
Member

It would be great if there was some seamless integration between ipyleaflet/folium/ipyopenlayers/leafmap and jupytergis in the Notebook API:

from jupytergis_lab import GISDocument

doc = GISDocument()

from ipyleaflet import Map
m = Map()
# [...]
# User code user ipyleaflet
# [...]

doc.append_layers(m.layers)

It should fairly be easy to implement (maybe repetitive).

This would allow existing user code to already integrate with jupytergis.

@martinRenou martinRenou added the enhancement New feature or request label Jun 13, 2024
@martinRenou
Copy link
Member Author

We could even have ipyleaflet and ipyopenlayers provide the APIs to export to .jgis:

from ipyleaflet import Map
m = Map()
m.to_jgis()  # => returns the JSON object

@kylebarron
Copy link

I'd be happy to implement/help with integration with Lonboard, which is much more scalable than ipyleaflet. I can't find anything about ipyopenlayers?

@martinRenou
Copy link
Member Author

That's great to hear! We're still in early stage for jupytergis, but in due time we'd be happy to collaborate :)

I can't find anything about ipyopenlayers

It is still very much in progress and we've not advertised it yet: https://github.com/QuantStack/ipyopenlayers

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

No branches or pull requests

2 participants