# !pip install -U geemap import ee import geemap Map = geemap.Map() Map data = Map.user_roi if data is None: data = ee.Geometry.BBox(-112.8089, 33.7306, -88.5951, 46.6244) Map.addLayer(data, {}, 'ROI') Map.user_roi = None Map.centerObject(data) fishnet = geemap.fishnet(data, h_interval=2.0, v_interval=2.0, delta=1) Map.addLayer(fishnet, {}, 'Fishnet 1') data = Map.user_roi if data is None: data = ee.Geometry.Polygon( [ [ [-64.602356, -1.127399], [-68.821106, -12.625598], [-60.647278, -22.498601], [-47.815247, -21.111406], [-43.860168, -8.913564], [-54.582825, -0.775886], [-60.823059, 0.454555], [-64.602356, -1.127399], ] ] ) Map.addLayer(data, {}, 'ROI2') Map.centerObject(data) Map fishnet = geemap.fishnet(data, rows=6, cols=8, delta=1) Map.addLayer(fishnet, {}, 'Fishnet 2')