Split map
In [1]:
Copied!
import geohey
from ipyleaflet import basemaps, basemap_to_tiles
import geohey
from ipyleaflet import basemaps, basemap_to_tiles
In [2]:
Copied!
m = geohey.Map()
left_layer = basemap_to_tiles(basemap=basemaps.OpenTopoMap)
right_layer = basemap_to_tiles(basemap=basemaps.Esri.WorldImagery)
m.add_split_map(left_layer=left_layer, right_layer=right_layer)
m
m = geohey.Map()
left_layer = basemap_to_tiles(basemap=basemaps.OpenTopoMap)
right_layer = basemap_to_tiles(basemap=basemaps.Esri.WorldImagery)
m.add_split_map(left_layer=left_layer, right_layer=right_layer)
m
Out[2]:
In [ ]:
Copied!