Map widget
Adding Map Widget¶
In [1]:
Copied!
#!pip install beamgis
#!pip install beamgis
In [2]:
Copied!
# Import beamgis
import beamgis
# Import beamgis
import beamgis
In [3]:
Copied!
# Create map and add basemap gui and layer control
m = beamgis.Map(center=(10, 0), zoom=4)
m.add_basemap_gui()
m.add_layer_control()
m
# Create map and add basemap gui and layer control
m = beamgis.Map(center=(10, 0), zoom=4)
m.add_basemap_gui()
m.add_layer_control()
m
Out[3]:
Customize basemap options¶
In [4]:
Copied!
# Create new map and add basemap gui and layer control
m2 = beamgis.Map(center=(10, 0), zoom=4)
options = ["OpenTopoMap", "Esri.WorldImagery"]
m2.add_basemap_gui(options=options)
m2.add_layer_control()
m2
# Create new map and add basemap gui and layer control
m2 = beamgis.Map(center=(10, 0), zoom=4)
options = ["OpenTopoMap", "Esri.WorldImagery"]
m2.add_basemap_gui(options=options)
m2.add_layer_control()
m2
Out[4]:
In [ ]:
Copied!