opengeos/leafmap

Toolbar frozen with Geemap and Leafmap

codefean opened this issue · 1 comments

Environment Information

  • leafmap version: 0.22.0
  • Python version: 3.10
  • Operating System: Mac OS

Description

When I go to use the toolbar it freezes and makes me unable to use the toolbar functionality. Anyone else having this issue?

What I Did

import leafmap

m = leafmap.Map(center=[40, -100], zoom=4)
naip_url = 'https://www.mrlc.gov/geoserver/mrlc_display/NLCD_2019_Land_Cover_L48/wms?'
m.add_wms_layer(
    url=naip_url,
    layers='NLCD_2019_Land_Cover_L48',
    name='NLCD 2019',
    attribution='MRLC',
    format='image/png',
    shown=True,
)
m.add_legend(title='NLCD Land Cover Type', builtin_legend='NLCD')
m
``


![Image 6-22-23 at 12 02 PM](https://github.com/opengeos/leafmap/assets/124543425/297185c7-a042-45ea-80ca-4cd6f157201d)