Leafmap legends not appearing #28
Replies: 6 comments 1 reply
-
This has been fixed in the leafmap package. Please update it using ![]() |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks! It works, but the text in the legends come up with a very light
(unreadable) dark gray text side instead of the black text you have in your
image. See attached images.
…On Sat, Aug 2, 2025 at 11:58 PM Qiusheng Wu ***@***.***> wrote:
This has been fixed in the leafmap package. Please update it using pip
install -U leafmap
image.png (view on web)
<https://github.com/user-attachments/assets/8bd069c2-b4f2-4bc1-838b-858ece3a42d2>
—
Reply to this email directly, view it on GitHub
<#28 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BRPTNYX5AUSRZBITZAT2UJD3LWJHVAVCNFSM6AAAAACC3LSIOCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGOJXGM3DKOI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Can you share the screen shot? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Here is the screenshot
…On Sun, Aug 3, 2025 at 6:20 AM Qiusheng Wu ***@***.***> wrote:
Can you share the screen shot?
—
Reply to this email directly, view it on GitHub
<#28 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BRPTNYVZI2EUU2FU5P6UKI33LXWAVAVCNFSM6AAAAACC3LSIOCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGOJXGU3DSOI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
[image: Screenshot 2025-08-03 at 2.19.01 AM.png]
…On Sun, Aug 3, 2025 at 6:20 AM Qiusheng Wu ***@***.***> wrote:
Can you share the screen shot?
—
Reply to this email directly, view it on GitHub
<#28 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BRPTNYVZI2EUU2FU5P6UKI33LXWAVAVCNFSM6AAAAACC3LSIOCVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGOJXGU3DSOI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
![]() |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I am working on Chapter 20 exercises in Google Colab and I cannot get legends of any kind to appear no matter what type of map (raster/vector) I try to create. Am I doing something wrong?
Here's a code sample:
`m = leafmap.Map(center=[40, -100], zoom=4)
m.add_basemap("Esri.WorldImagery")
url = "https://www.mrlc.gov/geoserver/mrlc_display/NLCD_2021_Land_Cover_L48/wms?"
m.add_wms_layer(
url=url,
layers="NLCD_2021_Land_Cover_L48",
name="NLCD 2021",
attribution="MRLC",
format="image/png",
shown=True,
)
m.add_legend(title="NLCD Land Cover Type", builtin_legend="NLCD")
Beta Was this translation helpful? Give feedback.
All reactions