save to html
#23
-
is there an example of saving to html. I get Exception: [Errno 2] No such file or directory: '' and would like to test a notebook that works |
Beta Was this translation helpful? Give feedback.
Answered by
giswqs
Jun 10, 2021
Replies: 2 comments
-
This bug has been fixed. Please update the package using For folium import leafmap.foliumap as leafmap
m = leafmap.Map()
m.save("mymap.html") For ipyleaflet (Notebook: it seems ipyleaflet has a bug right now. You might get a blank map. See jupyter-widgets/ipyleaflet#841) import leafmap
m = leafmap.Map()
# m.save("mymap.html") #this one should also work
m.to_html("mymap.html") |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
giswqs
-
Many thanks for this.
Yes it is sorted now for me.
I switched to your package because a bug in ipyleaflet nudged me into
looking at other options.
For me leafmap is just what I need - so many thanks for developing it
regards
Helen
regards
Helen
…On Thu, 10 Jun 2021 at 02:19, Qiusheng Wu ***@***.***> wrote:
This bug has been fixed. Please update the package using
leafmap.update_package().
*For folium*
import leafmap.foliumap as leafmapm = leafmap.Map()m.save("mymap.html")
*For ipyleaflet* (Notebook: it seems ipyleaflet has a bug right now. You
might get a blank map. See jupyter-widgets/ipyleaflet#841
<jupyter-widgets/ipyleaflet#841>)
import leafmapm = leafmap.Map()# m.save("mymap.html") #this one should also workm.to_html("mymap.html")
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#23 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHNVR5CVCB4TYPMDLOOSWR3TSAHIHANCNFSM46M4QL3Q>
.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This bug has been fixed. Please update the package using
leafmap.update_package()
.For folium
For ipyleaflet (Notebook: it seems ipyleaflet has a bug right now. You might get a blank map. See jupyter-widgets/ipyleaflet#841)